[partition] Avoid problems with MessageAndPath in containers (drop const)
This commit is contained in:
parent
890c17cd71
commit
d89553a777
@ -243,14 +243,8 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
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;
|
const char* m_message = nullptr;
|
||||||
QString m_path;
|
QString m_path;
|
||||||
#else
|
|
||||||
const char* const m_message = nullptr;
|
|
||||||
QString const m_path;
|
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
STATICTEST inline QDebug&
|
STATICTEST inline QDebug&
|
||||||
|
Loading…
Reference in New Issue
Block a user