Trivial code formatting for some {.cpp,.h} files
This commit is contained in:
@@ -91,14 +91,14 @@ void Exception::ReportException (void) const
|
||||
{
|
||||
if (!_isReported) {
|
||||
const char *msg;
|
||||
if(_sErrMsg.empty())
|
||||
if (_sErrMsg.empty())
|
||||
msg = typeid(*this).name();
|
||||
else
|
||||
msg = _sErrMsg.c_str();
|
||||
#ifdef FC_DEBUG
|
||||
if(_function.size()) {
|
||||
if (_function.size()) {
|
||||
_FC_ERR(_file.c_str(),_line, _function << " -- " << msg);
|
||||
}else
|
||||
} else
|
||||
#endif
|
||||
_FC_ERR(_file.c_str(),_line,msg);
|
||||
_isReported = true;
|
||||
@@ -319,14 +319,14 @@ void FileException::ReportException (void) const
|
||||
{
|
||||
if (!_isReported) {
|
||||
const char *msg;
|
||||
if(_sErrMsgAndFileName.empty())
|
||||
if (_sErrMsgAndFileName.empty())
|
||||
msg = typeid(*this).name();
|
||||
else
|
||||
msg = _sErrMsgAndFileName.c_str();
|
||||
#ifdef FC_DEBUG
|
||||
if(_function.size()) {
|
||||
if (_function.size()) {
|
||||
_FC_ERR(_file.c_str(),_line, _function << " -- " << msg);
|
||||
}else
|
||||
} else
|
||||
#endif
|
||||
_FC_ERR(_file.c_str(),_line,msg);
|
||||
_isReported = true;
|
||||
|
||||
Reference in New Issue
Block a user