Issue #77 Break cyclic dependency between CStatusMessage and CStatusException, by removing unused methods

This commit is contained in:
Mat Sutcliffe
2020-11-07 22:05:41 +00:00
parent 0c3977fc35
commit 211fd42eaf
4 changed files with 8 additions and 24 deletions

View File

@@ -30,4 +30,9 @@ namespace BlackMisc
if (m_temp.isNull()) { m_temp = m_payload.getMessage().toLocal8Bit(); }
return m_temp;
}
void CStatusException::maybeThrow(const CStatusMessage &message)
{
if (!message.isEmpty()) { throw CStatusException(message); }
}
} // ns