Procházet zdrojové kódy

Fix failure message formatting in toolchain loading

default_compile_flags
vector-of-bool před 5 roky
rodič
revize
6b0d83d628
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      src/dds/toolchain/from_dds.cpp

+ 2
- 2
src/dds/toolchain/from_dds.cpp Zobrazit soubor

@@ -74,8 +74,8 @@ T read_opt(const std::optional<T>& what, Func&& fn) {

template <typename... 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


Načítá se…
Zrušit
Uložit