X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fpthreadwrapper%2Fdeadlockexception.h;h=9aa12ff35c787e21a7d34599b2abfa4d05248f19;hb=9b22dd53fe62e312c1647310b7ec43aa127090af;hp=3f83736b027cead1a36d347bee867ae8b1b16c42;hpb=5f8a87e41beeda971d6a47a6c6b0555da00af978;p=fms.git diff --git a/include/pthreadwrapper/deadlockexception.h b/include/pthreadwrapper/deadlockexception.h index 3f83736..9aa12ff 100644 --- a/include/pthreadwrapper/deadlockexception.h +++ b/include/pthreadwrapper/deadlockexception.h @@ -9,7 +9,7 @@ namespace PThread class DeadlockException:public std::exception { public: - const char *what() const { return "Deadlock Exception"; } + const char *what() const throw() { return "Deadlock Exception"; } }; } // namespace