diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-05-02 18:44:32 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-05-13 16:39:22 +0000 |
commit | 0d88721d772fd995a39cc2417a2a0dabee403b7d (patch) | |
tree | 9532703d816d320de131d0846882a1bd5c9293f2 /qmake/project.cpp | |
parent | 388fe97f2a54089544dff0ed3af6ca70bf604716 (diff) |
qmake: use std names on a linked list
This is preparation of moving from QLinkedList to std::list, which is in
preparation of deprecating QLinkedList.
Change-Id: Ief259bc8c7178be5ca04812c6890cf65d86c069d
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'qmake/project.cpp')
-rw-r--r-- | qmake/project.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp index 1bc9b352b5..931a337b71 100644 --- a/qmake/project.cpp +++ b/qmake/project.cpp @@ -143,15 +143,15 @@ ProString QMakeProject::expand(const QString &expr, const QString &where, int li bool QMakeProject::isEmpty(const ProKey &v) const { - ProValueMap::ConstIterator it = m_valuemapStack.first().constFind(v); - return it == m_valuemapStack.first().constEnd() || it->isEmpty(); + ProValueMap::ConstIterator it = m_valuemapStack.front().constFind(v); + return it == m_valuemapStack.front().constEnd() || it->isEmpty(); } void QMakeProject::dump() const { QStringList out; - for (ProValueMap::ConstIterator it = m_valuemapStack.first().begin(); - it != m_valuemapStack.first().end(); ++it) { + for (ProValueMap::ConstIterator it = m_valuemapStack.front().begin(); + it != m_valuemapStack.front().end(); ++it) { if (!it.key().startsWith('.')) { QString str = it.key() + " ="; for (const ProString &v : it.value()) |