X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fresult%2Ffail.hpp;h=3aec9c1e9a6b5df43b99ab57827a2f0485b5a4f6;hb=4f7be53a47cd370098850c65b359e0ef55db06a0;hp=dae4a08bc496821a7cd8d00fed2c726cfed8166b;hpb=858824dce02bade6464c404beef41da9321d58ef;p=awesomized%2Flibmemcached diff --git a/libtest/result/fail.hpp b/libtest/result/fail.hpp index dae4a08b..3aec9c1e 100644 --- a/libtest/result/fail.hpp +++ b/libtest/result/fail.hpp @@ -43,19 +43,14 @@ class __failure : public __test_result public: __failure(const char *file, int line, const char *func, ...); - __failure(const __failure& other); + __failure(const __failure&); - ~__failure() throw(); - - const char* what() const throw() + test_return_t return_code() const { - return _error_message; + return TEST_FAILURE; } private: - char* _error_message; - int _error_message_size; }; } // namespace libtest -