Browse Source

Update c++ standard (#2204)

We need c++14 to compile the test of 1.8.0
小鸡快跑 2 years ago
parent
commit
e19b9e48fc
1 changed files with 1 additions and 1 deletions
  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)