NOISSUE fix fix fix the accounts again

This commit is contained in:
Petr Mrázek
2021-11-23 01:25:24 +01:00
parent 27e328c044
commit b49987e876
8 changed files with 17 additions and 10 deletions

View File

@ -77,6 +77,12 @@ public:
{
return m_ptr;
}
bool operator==(const shared_qobject_ptr<T>& other) {
return m_ptr == other.m_ptr;
}
bool operator!=(const shared_qobject_ptr<T>& other) {
return m_ptr != other.m_ptr;
}
private:
std::shared_ptr <T> m_ptr;