mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
Issue #77 Break cyclic dependency between CStatusMessage and CStatusException, by removing unused methods
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user