X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fresult%2Ffatal.hpp;h=8e6d13464616b93c0348625feb9db01b98ab66cf;hb=d75ea573873b3e4369306a59aa61b776ae9ff53f;hp=deebb3582cc7488c66bbb05a49c61eb2d79dcda4;hpb=858824dce02bade6464c404beef41da9321d58ef;p=awesomized%2Flibmemcached diff --git a/libtest/result/fatal.hpp b/libtest/result/fatal.hpp index deebb358..8e6d1346 100644 --- a/libtest/result/fatal.hpp +++ b/libtest/result/fatal.hpp @@ -45,23 +45,14 @@ public: fatal(const fatal&); - ~fatal() throw(); - - const char* what() const throw() - { - return &_error_message[0]; - } - // The following are just for unittesting the exception class - static bool is_disabled(); - static void disable(); - static void enable(); - static uint32_t disabled_counter(); - static void increment_disabled_counter(); + static bool is_disabled() throw(); + static void disable() throw(); + static void enable() throw(); + static uint32_t disabled_counter() throw(); + static void increment_disabled_counter() throw(); private: - char* _error_message; - int _error_message_size; }; } // namespace libtest