summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/local_sighandler.cc
diff options
context:
space:
mode:
authorBastian Bloessl <mail@bastibl.net>2019-08-27 18:18:51 +0200
committerMarcus Müller <marcus@hostalia.de>2019-09-05 13:14:21 +0200
commitb6cba4632feac9c43672bce863c7652abe5ae03d (patch)
tree2e9d2f47bfa0cae78140d397a13a4019e46ceebd /gnuradio-runtime/lib/local_sighandler.cc
parentcb4c62961846d501e075447919f56fc85b5bfee6 (diff)
runtime: indicate that destructor of local_sighandler might throw
Diffstat (limited to 'gnuradio-runtime/lib/local_sighandler.cc')
-rw-r--r--gnuradio-runtime/lib/local_sighandler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-runtime/lib/local_sighandler.cc b/gnuradio-runtime/lib/local_sighandler.cc
index 97491b24de..ffeaa9068b 100644
--- a/gnuradio-runtime/lib/local_sighandler.cc
+++ b/gnuradio-runtime/lib/local_sighandler.cc
@@ -49,7 +49,7 @@ local_sighandler::local_sighandler(int signum, void (*new_handler)(int))
#endif
}
-local_sighandler::~local_sighandler()
+local_sighandler::~local_sighandler() noexcept(false)
{
#ifdef HAVE_SIGACTION
if (sigaction(d_signum, &d_old_action, 0) < 0) {