浏览代码

Update c++ standard (#2204)

We need c++14 to compile the test of 1.8.0
小鸡快跑 2 年之前
父节点
当前提交
e19b9e48fc
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)