diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-05-28 16:41:49 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-06-03 15:14:42 +0200 |
commit | e4079eca49adce16e31dac2a18d49d7a55817891 (patch) | |
tree | 1dfb960ec1115b1f552afe8a013058542389505e /qmake/project.h | |
parent | f32a6cfb6b6236533508901f114ab57396da8ff3 (diff) | |
parent | ec6dc5f78453048c4f0604655a34c6c20c79d819 (diff) |
Merge remote-tracking branch 'origin/dev' into wip/cmake
Take 5.
Change-Id: Ifb2d20e95ba824e45e667fba6c2ba45389991cc3
Diffstat (limited to 'qmake/project.h')
-rw-r--r-- | qmake/project.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qmake/project.h b/qmake/project.h index d7a5852bed..071b62424f 100644 --- a/qmake/project.h +++ b/qmake/project.h @@ -58,12 +58,12 @@ public: { m_current.clear(); return evaluateConditional(QStringRef(&v), file, line) == ReturnTrue; } bool test(const ProKey &func, const QList<ProStringList> &args); - bool isSet(const ProKey &v) const { return m_valuemapStack.first().contains(v); } + bool isSet(const ProKey &v) const { return m_valuemapStack.front().contains(v); } bool isEmpty(const ProKey &v) const; ProStringList &values(const ProKey &v) { return valuesRef(v); } int intValue(const ProKey &v, int defaultValue = 0) const; - const ProValueMap &variables() const { return m_valuemapStack.first(); } - ProValueMap &variables() { return m_valuemapStack.first(); } + const ProValueMap &variables() const { return m_valuemapStack.front(); } + ProValueMap &variables() { return m_valuemapStack.front(); } bool isActiveConfig(const QString &config, bool regex = false) { return QMakeEvaluator::isActiveConfig(QStringRef(&config), regex); } |