From 0eb597a681115d6d5dd2ea4511fa3b8c7b3d9c9f Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 27 Apr 2007 10:08:42 +0000 Subject: Restructured the code to use the new utility code in utils.h. --- format.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'format.h') diff --git a/format.h b/format.h index e2c6a3db..1ddd8202 100644 --- a/format.h +++ b/format.h @@ -101,12 +101,7 @@ class format_t } }; -class format_error : public error { - public: - format_error(const string& reason, error_context * ctxt = NULL) throw() - : error(reason, ctxt) {} - virtual ~format_error() throw() {} -}; +DECLARE_EXCEPTION(format_exception); } // namespace ledger -- cgit v1.2.3