aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.ucl/error.ccm
diff options
context:
space:
mode:
Diffstat (limited to 'nihil.ucl/error.ccm')
-rw-r--r--nihil.ucl/error.ccm5
1 files changed, 1 insertions, 4 deletions
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<typename... Args>
- error(std::format_string<Args...> fmt, Args &&...args)
- : generic_error(fmt, std::forward<Args>(args)...)
- {}
+ error(std::string what) : generic_error(std::move(what)) {}
};
} // namespace nihil::ucl