Correct style, use of newer YATL.
[awesomized/libmemcached] / libtest / result / fatal.hpp
index 39778ab82f777ccec205704d3648a2d6f38f8887..8e6d13464616b93c0348625feb9db01b98ab66cf 100644 (file)
@@ -43,24 +43,16 @@ class fatal : public __test_result
 public:
   fatal(const char *file, int line, const char *func, ...);
 
-  ~fatal() throw()
-  {
-  }
-
-  const char* what() const throw()
-  {
-    return &_error_message[0];
-  }
+  fatal(const fatal&);
 
   // 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:
-  vchar_t _error_message;
 };
 
 } // namespace libtest