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

@@ -25,8 +25,6 @@
namespace BlackMisc
{
class CStatusException;
namespace Private
{
//! Like QString::arg() but for QStringView.
@@ -376,12 +374,6 @@ namespace BlackMisc
//! \sa QtMessageHandler
void toQtLogTriple(QtMsgType *o_type, QString *o_category, QString *o_message) const;
//! Return a throwable exception object containing this status message.
CStatusException asException() const;
//! If message is empty then do nothing, otherwise throw a CStatusException.
void maybeThrow() const;
//! Message categories
const CLogCategoryList &getCategories() const { return this->m_categories; }