diff options
Diffstat (limited to 'qmake/generators/makefiledeps.h')
-rw-r--r-- | qmake/generators/makefiledeps.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qmake/generators/makefiledeps.h b/qmake/generators/makefiledeps.h index 7602b5ef4e..5eb66e9de4 100644 --- a/qmake/generators/makefiledeps.h +++ b/qmake/generators/makefiledeps.h @@ -63,10 +63,10 @@ public: inline const QString &real() const { return real_name; } const QString &local() const; - bool operator==(const QMakeLocalFileName &other) { + bool operator==(const QMakeLocalFileName &other) const { return (this->real_name == other.real_name); } - bool operator!=(const QMakeLocalFileName &other) { + bool operator!=(const QMakeLocalFileName &other) const { return !(*this == other); } }; |