浏览代码

Fix failure message formatting in toolchain loading

default_compile_flags
vector-of-bool 6 年前
父节点
当前提交
6b0d83d628
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/dds/toolchain/from_dds.cpp

+ 2
- 2
src/dds/toolchain/from_dds.cpp 查看文件



template <typename... Args> template <typename... Args>
[[noreturn]] void fail(strv context, strv message, Args&&... args) { [[noreturn]] void fail(strv context, strv message, Args&&... args) {
throw std::runtime_error(
format("{} - Failed to read toolchain file: {}", context, message, args...));
auto fmtd = format(message, args...);
throw std::runtime_error(format("{} - Failed to read toolchain file: {}", context, fmtd));
} }
} // namespace } // namespace



正在加载...
取消
保存