diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-22 20:05:02 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-22 20:05:02 +0100 |
commit | ec69f40540317215d0f30e1f8e43d0e18450f8cc (patch) | |
tree | 1468a8d5bbf4a8800cee89c9e114d09348fa88bb /src/crepe/facade/SignalCatch.cpp | |
parent | a600cc55468a6513743ce916aa3da129270c23f0 (diff) |
`make format`loek/game
Diffstat (limited to 'src/crepe/facade/SignalCatch.cpp')
-rw-r--r-- | src/crepe/facade/SignalCatch.cpp | 9 |
1 files changed, 2 insertions, 7 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"); } |