diff options
Diffstat (limited to 'src/common/Utilities/StringFormat.h')
-rw-r--r-- | src/common/Utilities/StringFormat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Utilities/StringFormat.h b/src/common/Utilities/StringFormat.h index ba0adacc888..da1615575a4 100644 --- a/src/common/Utilities/StringFormat.h +++ b/src/common/Utilities/StringFormat.h @@ -30,7 +30,7 @@ namespace Trinity { return fmt::sprintf(std::forward<Format>(fmt), std::forward<Args>(args)...); } - catch (const fmt::FormatError& formatError) + catch (const fmt::format_error& formatError) { std::string error = "An error occurred formatting string \"" + std::string(fmt) + "\" : " + std::string(formatError.what()); return error; |