aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.config/error.ccm
diff options
context:
space:
mode:
authorLexi Winter <lexi@le-fay.org>2025-06-23 16:28:11 +0100
committerLexi Winter <lexi@le-fay.org>2025-06-23 16:28:11 +0100
commitd5963532328ce5f1c9f266bf7e760b7d18a60c15 (patch)
tree28e8d4b98f2f3adbd2f02bcc656ad74e626677c9 /nihil.config/error.ccm
parent0fa623093366351ad47583f47add6e51f56a56d8 (diff)
downloadnihil-d5963532328ce5f1c9f266bf7e760b7d18a60c15.tar.gz
nihil-d5963532328ce5f1c9f266bf7e760b7d18a60c15.tar.bz2
various updates
Diffstat (limited to 'nihil.config/error.ccm')
-rw-r--r--nihil.config/error.ccm5
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