Răsfoiți Sursa

Update c++ standard (#2204)

We need c++14 to compile the test of 1.8.0
小鸡快跑 2 ani în urmă
părinte
comite
e19b9e48fc
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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)