Browse Source

Fix double-format

default_compile_flags
vector-of-bool 3 years ago
parent
commit
65aafb2dcc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/dds/error/errors.hpp

+ 1
- 1
src/dds/error/errors.hpp View File

@@ -118,7 +118,7 @@ auto make_external_error() {

template <errc ErrorCode, typename... Args>
[[noreturn]] void throw_external_error(std::string_view fmt_str, Args&&... args) {
throw make_external_error<ErrorCode>(fmt::format(fmt_str, std::forward<Args>(args)...));
throw make_external_error<ErrorCode>(fmt_str, std::forward<Args>(args)...);
}

template <errc ErrorCode>

Loading…
Cancel
Save