Commit ed1e6994 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Make comparison operators const

Reviewed-by: thorbjorn
parent 019904e5
......@@ -288,12 +288,12 @@ void Environment::modify(const QList<EnvironmentItem> & list)
*this = resultEnvironment;
bool Environment::operator!=(const Environment &other)
bool Environment::operator!=(const Environment &other) const
return !(*this == other);
bool Environment::operator==(const Environment &other)
bool Environment::operator==(const Environment &other) const
return m_values == other.m_values;
......@@ -94,8 +94,8 @@ public:
static QStringList parseCombinedArgString(const QString &program);
static QString joinArgumentList(const QStringList &arguments);
bool operator!=(const Environment &other);
bool operator==(const Environment &other);
bool operator!=(const Environment &other) const;
bool operator==(const Environment &other) const;
QMap<QString, QString> m_values;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment