[partition] Avoid problems with MessageAndPath in containers (drop const)

This commit is contained in:
Adriaan de Groot 2021-12-06 14:44:38 +01:00
parent 890c17cd71
commit d89553a777

View file

@ -243,14 +243,8 @@ public:
}
private:
#if ( QT_VERSION < QT_VERSION_CHECK( 5, 15, 0 ) )
// TODO: 3.3 remove because newer Qt does support constness
const char* m_message = nullptr;
QString m_path;
#else
const char* const m_message = nullptr;
QString const m_path;
#endif
};
STATICTEST inline QDebug&