diff options
-rw-r--r-- | src/libs/utils/environment.cpp | 2 | ||||
-rw-r--r-- | src/libs/utils/environment.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/utils/environment.cpp b/src/libs/utils/environment.cpp index e0d03a9ab6..e0a19db274 100644 --- a/src/libs/utils/environment.cpp +++ b/src/libs/utils/environment.cpp @@ -391,7 +391,7 @@ QList<EnvironmentItem> Environment::diff(const Environment &other) const return result; } -bool Environment::hasKey(const QString &key) +bool Environment::hasKey(const QString &key) const { return m_values.contains(key); } diff --git a/src/libs/utils/environment.h b/src/libs/utils/environment.h index b0d5941ff5..46fd72a88c 100644 --- a/src/libs/utils/environment.h +++ b/src/libs/utils/environment.h @@ -77,7 +77,7 @@ public: void modify(const QList<EnvironmentItem> &list); /// Return the Environment changes necessary to modify this into the other environment. QList<EnvironmentItem> diff(const Environment &other) const; - bool hasKey(const QString &key); + bool hasKey(const QString &key) const; QString userName() const; |