mirror of
https://github.com/debauchee/barrier.git
synced 2026-07-03 18:37:24 +08:00
fixed: extending std::runtime_error instead, as std::exception ctor is undefined. also fixed some mac warnings from inheriting runtime_error.
This commit is contained in:
@@ -2313,7 +2313,7 @@ XConfigRead::XConfigRead(const CConfigReadContext& context,
|
||||
// do nothing
|
||||
}
|
||||
|
||||
XConfigRead::~XConfigRead()
|
||||
XConfigRead::~XConfigRead() _NOEXCEPT
|
||||
{
|
||||
// do nothing
|
||||
}
|
||||
|
||||
@@ -534,7 +534,7 @@ public:
|
||||
XConfigRead(const CConfigReadContext& context, const CString&);
|
||||
XConfigRead(const CConfigReadContext& context,
|
||||
const char* errorFmt, const CString& arg);
|
||||
~XConfigRead();
|
||||
virtual ~XConfigRead() _NOEXCEPT;
|
||||
|
||||
protected:
|
||||
// XBase overrides
|
||||
|
||||
@@ -38,12 +38,12 @@
|
||||
#include "base/IEventQueue.h"
|
||||
#include "base/Log.h"
|
||||
#include "base/TMethodEventJob.h"
|
||||
#include "common/stdexcept.h"
|
||||
|
||||
#include <cstring>
|
||||
#include <cstdlib>
|
||||
#include <sstream>
|
||||
#include <fstream>
|
||||
#include <stdexcept>
|
||||
|
||||
//
|
||||
// CServer
|
||||
|
||||
Reference in New Issue
Block a user