From 6b123d4bc61c2db8e379dd5e681834c4053e661d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 22 Aug 2024 10:26:43 +0100 Subject: Use C++20 instead of fmtlib when available. --- modules/sethost.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/sethost.cpp') diff --git a/modules/sethost.cpp b/modules/sethost.cpp index 18009327a..4682a04f9 100644 --- a/modules/sethost.cpp +++ b/modules/sethost.cpp @@ -83,7 +83,7 @@ public: { // A hostname can not contain NUL, LF, CR, or SPACE. if (chr == 0x00 || chr == 0x0A || chr == 0x0D || chr == 0x20) - throw ModuleException(this, fmt::format(" can not contain character 0x{:02X} ({})", chr, chr)); + throw ModuleException(this, FMT::format(" can not contain character 0x{:02X} ({})", chr, chr)); newhostmap.set(static_cast(chr)); } std::swap(newhostmap, cmd.hostmap); -- cgit v1.3.1-10-gc9f91