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

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