diff options
author | Alexander Huemer <alexander.huemer@xx.vu> | 2019-02-06 21:45:14 +0100 |
---|---|---|
committer | Alexander Huemer <alexander.huemer@xx.vu> | 2019-02-06 21:45:14 +0100 |
commit | db7fbf8c1176ac04ba9839ed9b9e16f547b49057 (patch) | |
tree | 6abef4b795e96c1b56a2fd2f82bff751f8173815 | |
parent | 523993f19db186addb2fd3e149acd7ab3e5fae5d (diff) |
Avoid compiler warning 'dynamic exception specifications are deprecated in C++11 [-Wdeprecated]'
Change-Id: Ie472e6f92944cfe1af7d63cd644879573d080ca2
-rw-r--r-- | host/include/usrp/usrp_local_sighandler.h | 2 | ||||
-rw-r--r-- | host/lib/usrp_local_sighandler.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/host/include/usrp/usrp_local_sighandler.h b/host/include/usrp/usrp_local_sighandler.h index ee33675..5553680 100644 --- a/host/include/usrp/usrp_local_sighandler.h +++ b/host/include/usrp/usrp_local_sighandler.h @@ -55,7 +55,7 @@ public: ~usrp_local_sighandler (); /* throw usrp_signal (signum) */ - static void throw_signal (int signum) throw (usrp_signal); + static void throw_signal (int signum); }; #endif /* INCLUDED_USRP_LOCAL_SIGHANDLER_H */ diff --git a/host/lib/usrp_local_sighandler.cc b/host/lib/usrp_local_sighandler.cc index 5901397..81bc3d1 100644 --- a/host/lib/usrp_local_sighandler.cc +++ b/host/lib/usrp_local_sighandler.cc @@ -64,7 +64,7 @@ usrp_local_sighandler::~usrp_local_sighandler () } void -usrp_local_sighandler::throw_signal(int signum) throw(usrp_signal) +usrp_local_sighandler::throw_signal(int signum) { throw usrp_signal (signum); } |