From 13c734d8225fb1a4c6a0c4dae221707908804872 Mon Sep 17 00:00:00 2001 From: crs Date: Sat, 14 Sep 2002 21:31:35 +0000 Subject: [PATCH] removed std::exception from base class list of XBase. this is a workaround for gcc 3.2 until everything necessary has throw() specifiers. --- lib/base/XBase.cpp | 4 ++-- lib/base/XBase.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/base/XBase.cpp b/lib/base/XBase.cpp index c72c425e..057024b0 100644 --- a/lib/base/XBase.cpp +++ b/lib/base/XBase.cpp @@ -32,14 +32,14 @@ // XBase::XBase() : - exception(STDEXCEPTARG), +// exception(STDEXCEPTARG), m_what() { // do nothing } XBase::XBase(const CString& msg) : - exception(STDEXCEPTARG), +// exception(STDEXCEPTARG), m_what(msg) { // do nothing diff --git a/lib/base/XBase.h b/lib/base/XBase.h index aac354f0..72a871a4 100644 --- a/lib/base/XBase.h +++ b/lib/base/XBase.h @@ -24,7 +24,7 @@ /*! This is the base class of most exception types. */ -class XBase : public std::exception { +class XBase /*: public std::exception*/ { public: //! Use getWhat() as the result of what() XBase();