X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Fpthreadwrapper%2Fdeadlockexception.h;h=9aa12ff35c787e21a7d34599b2abfa4d05248f19;hp=3f83736b027cead1a36d347bee867ae8b1b16c42;hb=21f835f30b4e092c847bf4569a00995774f7330e;hpb=5f8a87e41beeda971d6a47a6c6b0555da00af978 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