mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
Issue #77 Break cyclic dependency between CStatusMessage and CStatusException, by removing unused methods
This commit is contained in:
@@ -22,8 +22,6 @@ namespace BlackMisc
|
||||
{
|
||||
/*!
|
||||
* Throwable exception class containing a CStatusMessage.
|
||||
*
|
||||
* This is the exception type which may be thrown by CStatusMessage::maybeThrow().
|
||||
*/
|
||||
class BLACKMISC_EXPORT CStatusException : public std::exception
|
||||
{
|
||||
@@ -46,6 +44,9 @@ namespace BlackMisc
|
||||
//! Destructor.
|
||||
~CStatusException() override {}
|
||||
|
||||
//! If the message is not empty then throw it.
|
||||
static void maybeThrow(const CStatusMessage &);
|
||||
|
||||
private:
|
||||
const CStatusMessage m_payload;
|
||||
mutable QByteArray m_temp;
|
||||
|
||||
Reference in New Issue
Block a user