瀏覽代碼

No implicit string conversion on MSVC

default_compile_flags
vector-of-bool 5 年之前
父節點
當前提交
2f9e5a5a30
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/dds/build/plan/exe.cpp

+ 1
- 1
src/dds/build/plan/exe.cpp 查看文件

@@ -56,7 +56,7 @@ std::optional<test_failure> link_executable_plan::run_test(build_env_ref env) co
auto msg = fmt::format("Run test: {:30}", fs::relative(exe_path, env.output_root).string());
spdlog::info(msg);
auto start = std::chrono::high_resolution_clock::now();
auto res = run_proc({exe_path});
auto res = run_proc({exe_path.string()});
auto end = std::chrono::high_resolution_clock::now();
auto dur = std::chrono::duration_cast<std::chrono::microseconds>(end - start);
if (res.okay()) {

Loading…
取消
儲存