mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-11 10:56:25 +08:00
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:
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user