aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Exception.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-08 11:36:39 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-08 11:36:39 +0100
commitbf177644dc5de58791eb80b11af9d6b4877b0a24 (patch)
treed85656633677397152dae729e7ec67069c13ec3e /src/crepe/Exception.cpp
parent1c4156ee127b14760ed3b1a0cd16ad12180c7ac6 (diff)
`make format`
Diffstat (limited to 'src/crepe/Exception.cpp')
-rw-r--r--src/crepe/Exception.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/crepe/Exception.cpp b/src/crepe/Exception.cpp
index f27d5a8..dab8f2e 100644
--- a/src/crepe/Exception.cpp
+++ b/src/crepe/Exception.cpp
@@ -6,9 +6,7 @@
using namespace std;
using namespace crepe;
-const char * Exception::what() {
- return error.c_str();
-}
+const char * Exception::what() { return error.c_str(); }
Exception::Exception(const char * fmt, ...) {
va_list args;
@@ -16,4 +14,3 @@ Exception::Exception(const char * fmt, ...) {
this->error = va_stringf(args, fmt);
va_end(args);
}
-