aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-22 20:05:02 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-22 20:05:02 +0100
commitec69f40540317215d0f30e1f8e43d0e18450f8cc (patch)
tree1468a8d5bbf4a8800cee89c9e114d09348fa88bb /src/crepe/facade
parenta600cc55468a6513743ce916aa3da129270c23f0 (diff)
`make format`loek/game
Diffstat (limited to 'src/crepe/facade')
-rw-r--r--src/crepe/facade/SignalCatch.cpp9
-rw-r--r--src/crepe/facade/SignalCatch.h3
2 files changed, 3 insertions, 9 deletions
diff --git a/src/crepe/facade/SignalCatch.cpp b/src/crepe/facade/SignalCatch.cpp
index ad92d28..4988047 100644
--- a/src/crepe/facade/SignalCatch.cpp
+++ b/src/crepe/facade/SignalCatch.cpp
@@ -15,11 +15,6 @@ SignalCatch::~SignalCatch() {
segvcatch::init_fpe();
}
-void SignalCatch::segv() {
- throw runtime_error("segmentation fault");
-}
-
-void SignalCatch::fpe() {
- throw domain_error("floating point exception");
-}
+void SignalCatch::segv() { throw runtime_error("segmentation fault"); }
+void SignalCatch::fpe() { throw domain_error("floating point exception"); }
diff --git a/src/crepe/facade/SignalCatch.h b/src/crepe/facade/SignalCatch.h
index 4562215..cf86b56 100644
--- a/src/crepe/facade/SignalCatch.h
+++ b/src/crepe/facade/SignalCatch.h
@@ -20,5 +20,4 @@ public:
SignalCatch & operator=(SignalCatch &&) = delete;
};
-}
-
+} // namespace crepe