Avoid compiler warning 'dynamic exception specifications are deprecated in C++11 [-Wdeprecated]'

Change-Id: Ie472e6f92944cfe1af7d63cd644879573d080ca2
This commit is contained in:
Alexander Huemer 2019-02-06 21:45:14 +01:00
parent 523993f19d
commit db7fbf8c11
2 changed files with 2 additions and 2 deletions

View File

@ -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 */

View File

@ -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);
}