From 8adda0dca4cb94be6a071e67b3e3c89a22375aca Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 18 Mar 2025 13:12:28 +0000 Subject: Add a formatting overload of the ModuleException constructor. --- src/modules/m_codepage.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/m_codepage.cpp') diff --git a/src/modules/m_codepage.cpp b/src/modules/m_codepage.cpp index 5c187126a..9f45b91d0 100644 --- a/src/modules/m_codepage.cpp +++ b/src/modules/m_codepage.cpp @@ -389,12 +389,12 @@ public: break; case Codepage::AllowCharacterResult::NOT_VALID: - throw ModuleException(this, INSP_FORMAT(" tag contains a forbidden character: {} at {}", - GetPrintable(pos), tag->source.str())); + throw ModuleException(this, " tag contains a forbidden character: {} at {}", + GetPrintable(pos), tag->source.str()); case Codepage::AllowCharacterResult::NOT_VALID_AT_FRONT: - throw ModuleException(this, INSP_FORMAT(" tag contains a forbidden front character: {} at {}", - GetPrintable(pos), tag->source.str())); + throw ModuleException(this, " tag contains a forbidden front character: {} at {}", + GetPrintable(pos), tag->source.str()); } } } -- cgit v1.3.1-10-gc9f91