Trivial code formatting for some {.cpp,.h} files

This commit is contained in:
luz.paz
2020-04-03 12:30:58 -04:00
committed by Yorik van Havre
parent a45738c629
commit d36c3ebe57
14 changed files with 95 additions and 94 deletions

View File

@@ -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;