aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Exception.hpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-13 15:50:13 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-13 15:50:13 +0100
commit5e59c22f77073fdf49bf98697da6a68819eb5776 (patch)
treeed53c8306c93825e9a33d642ae976ec97eb94fb1 /src/crepe/Exception.hpp
parent7ec392eda3345606f0de75a432954b221cee82ce (diff)
`make format`
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