mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 13:04:28 -04:00
Tag ComicDB::operator== as const
This commit is contained in:
@ -253,7 +253,7 @@ public:
|
||||
Q_PROPERTY(ComicInfo info MEMBER info)
|
||||
|
||||
ComicDB &operator=(const ComicDB &other);
|
||||
bool operator==(const ComicDB &other) { return id == other.id; }
|
||||
bool operator==(const ComicDB &other) const { return id == other.id; }
|
||||
|
||||
friend QDataStream &operator<<(QDataStream &, const ComicDB &);
|
||||
friend QDataStream &operator>>(QDataStream &, ComicDB &);
|
||||
|
Reference in New Issue
Block a user