summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
Diffstat (limited to 'qmake')
-rw-r--r--qmake/generators/makefiledeps.h4
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);
}
};