aboutsummaryrefslogtreecommitdiff
path: root/src/common/Utilities/StringFormat.h
diff options
context:
space:
mode:
authorWinfidonarleyan <dowlandtop@yandex.com>2020-09-11 17:54:07 +0700
committerShauren <shauren.trinity@gmail.com>2022-02-05 22:50:43 +0100
commit9fe5a7297dd74bebd05672ff7a029725257c5bac (patch)
tree0855f4e4e6c913300897283dba0ca08c35482e73 /src/common/Utilities/StringFormat.h
parent7bb03fab51690cdf982afd36340b10c05134c43a (diff)
Dep/fmt: update fmt library to 7.0.3
(cherry picked from commit 9d96e4852a4a25fdc323f656e24034fa1a280826)
Diffstat (limited to 'src/common/Utilities/StringFormat.h')
-rw-r--r--src/common/Utilities/StringFormat.h2
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;