aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Exception.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/Exception.hpp')
-rw-r--r--src/crepe/Exception.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/crepe/Exception.hpp b/src/crepe/Exception.hpp
index d813879..7c462a3 100644
--- a/src/crepe/Exception.hpp
+++ b/src/crepe/Exception.hpp
@@ -4,10 +4,9 @@
namespace crepe {
-template<class... Args>
-Exception::Exception(std::format_string<Args...> fmt, Args&&... args) {
+template <class... Args>
+Exception::Exception(std::format_string<Args...> fmt, Args &&... args) {
this->error = std::format(fmt, std::forward<Args>(args)...);
}
-}
-
+} // namespace crepe