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.ucl/error.ccm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'nihil.ucl/error.ccm') diff --git a/nihil.ucl/error.ccm b/nihil.ucl/error.ccm index 4eda774..c6a0f2d 100644 --- a/nihil.ucl/error.ccm +++ b/nihil.ucl/error.ccm @@ -17,10 +17,7 @@ namespace nihil::ucl { * Exception thrown when an issue occurs with UCL. */ 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::ucl -- cgit v1.2.3