diff options
| author | Lexi Winter <lexi@le-fay.org> | 2025-06-23 16:28:11 +0100 |
|---|---|---|
| committer | Lexi Winter <lexi@le-fay.org> | 2025-06-23 16:28:11 +0100 |
| commit | d5963532328ce5f1c9f266bf7e760b7d18a60c15 (patch) | |
| tree | 28e8d4b98f2f3adbd2f02bcc656ad74e626677c9 /nihil.ucl/error.ccm | |
| parent | 0fa623093366351ad47583f47add6e51f56a56d8 (diff) | |
| download | nihil-d5963532328ce5f1c9f266bf7e760b7d18a60c15.tar.gz nihil-d5963532328ce5f1c9f266bf7e760b7d18a60c15.tar.bz2 | |
various updates
Diffstat (limited to 'nihil.ucl/error.ccm')
| -rw-r--r-- | nihil.ucl/error.ccm | 5 |
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 |
