mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Tag ComicDB::operator== as const
This commit is contained in:
parent
a7e3c41f34
commit
e7f3d29477
@ -253,7 +253,7 @@ public:
|
|||||||
Q_PROPERTY(ComicInfo info MEMBER info)
|
Q_PROPERTY(ComicInfo info MEMBER info)
|
||||||
|
|
||||||
ComicDB &operator=(const ComicDB &other);
|
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 &, const ComicDB &);
|
||||||
friend QDataStream &operator>>(QDataStream &, ComicDB &);
|
friend QDataStream &operator>>(QDataStream &, ComicDB &);
|
||||||
|
Loading…
Reference in New Issue
Block a user