From d5963532328ce5f1c9f266bf7e760b7d18a60c15 Mon Sep 17 00:00:00 2001 From: Lexi Winter Date: Mon, 23 Jun 2025 16:28:11 +0100 Subject: various updates --- nihil.config/error.ccm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'nihil.config/error.ccm') diff --git a/nihil.config/error.ccm b/nihil.config/error.ccm index 0da91cb..4e7131a 100644 --- a/nihil.config/error.ccm +++ b/nihil.config/error.ccm @@ -17,10 +17,7 @@ namespace nihil::config { * Exception thrown when an issue occurs with the configuration. */ export struct error : generic_error { - template - error(std::format_string fmt, Args &&...args) - : generic_error(fmt, std::forward(args)...) - {} + error(std::string what) : generic_error(std::move(what)) {} }; } // namespace nihil::config -- cgit v1.2.3