diff options
Diffstat (limited to 'nihil.config/error.ccm')
| -rw-r--r-- | nihil.config/error.ccm | 5 |
1 files changed, 1 insertions, 4 deletions
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<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::config |
