diff options
Diffstat (limited to 'src/crepe/facade')
-rw-r--r-- | src/crepe/facade/SignalCatch.cpp | 9 | ||||
-rw-r--r-- | src/crepe/facade/SignalCatch.h | 3 |
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 |