removed std::exception from base class list of XBase. this
is a workaround for gcc 3.2 until everything necessary has throw() specifiers.
This commit is contained in:
parent
5e4289dc80
commit
13c734d822
|
@ -32,14 +32,14 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
XBase::XBase() :
|
XBase::XBase() :
|
||||||
exception(STDEXCEPTARG),
|
// exception(STDEXCEPTARG),
|
||||||
m_what()
|
m_what()
|
||||||
{
|
{
|
||||||
// do nothing
|
// do nothing
|
||||||
}
|
}
|
||||||
|
|
||||||
XBase::XBase(const CString& msg) :
|
XBase::XBase(const CString& msg) :
|
||||||
exception(STDEXCEPTARG),
|
// exception(STDEXCEPTARG),
|
||||||
m_what(msg)
|
m_what(msg)
|
||||||
{
|
{
|
||||||
// do nothing
|
// do nothing
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
/*!
|
/*!
|
||||||
This is the base class of most exception types.
|
This is the base class of most exception types.
|
||||||
*/
|
*/
|
||||||
class XBase : public std::exception {
|
class XBase /*: public std::exception*/ {
|
||||||
public:
|
public:
|
||||||
//! Use getWhat() as the result of what()
|
//! Use getWhat() as the result of what()
|
||||||
XBase();
|
XBase();
|
||||||
|
|
Loading…
Reference in New Issue