diff options
| author | 2024-08-22 10:26:43 +0100 | |
|---|---|---|
| committer | 2024-08-22 11:12:52 +0100 | |
| commit | 6b123d4bc61c2db8e379dd5e681834c4053e661d (patch) | |
| tree | 77621bb30f54b0c444e31a78b2c5c9a67955b723 /src/dynamic.cpp | |
| parent | Merge branch 'insp4' into master. (diff) | |
Use C++20 <format> instead of fmtlib when available.
Diffstat (limited to 'src/dynamic.cpp')
| -rw-r--r-- | src/dynamic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynamic.cpp b/src/dynamic.cpp index e0507c137..25b127fc9 100644 --- a/src/dynamic.cpp +++ b/src/dynamic.cpp @@ -78,7 +78,7 @@ Module* DLLManager::CallInit() else if (*abi != MODULE_ABI) { const char* version = GetVersion(); - err.assign(fmt::format("{} was built against {} ({}) which is too {} to use with {} ({}).", + err.assign(FMT::format("{} was built against {} ({}) which is too {} to use with {} ({}).", libname, version ? version : "an unknown version", *abi, *abi < MODULE_ABI ? "old" : "new", INSPIRCD_VERSION, MODULE_ABI)); return nullptr; |
