Explorar el Código

Update c++ standard (#2204)

We need c++14 to compile the test of 1.8.0
小鸡快跑 hace 2 años
padre
commit
e19b9e48fc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/b/benchmark/xmake.lua

+ 1 - 1
packages/b/benchmark/xmake.lua

@@ -55,5 +55,5 @@ package("benchmark")
             }
             BENCHMARK(BM_empty);
             BENCHMARK(BM_empty)->ThreadPerCpu();
-        ]]}, {configs = {languages = "c++11"}, includes = "benchmark/benchmark.h"}))
+        ]]}, {configs = {languages = "c++14"}, includes = "benchmark/benchmark.h"}))
     end)