diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-05-23 17:51:31 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-05-23 15:52:58 +0000 |
commit | 96d7a8089e06436072cfc232383ed45d2dd34430 (patch) | |
tree | 331dcfe87d5d77c1c501064989a2932f8b4857bd /src/linguist | |
parent | af0574a7f73f8815f0f276d8727f4cae74a4110a (diff) |
ProFileEvaluator: prepare for a qmake API change
ProValueMapStack is no longer going to be a QLinkedList, but a std::list.
Use std names.
Change-Id: Ib7b1a766a654bd3ecc49c1fe2438d3d0b2ced0ff
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/linguist')
-rw-r--r-- | src/linguist/shared/profileevaluator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linguist/shared/profileevaluator.cpp b/src/linguist/shared/profileevaluator.cpp index 7eb843a9d..aa32b9e01 100644 --- a/src/linguist/shared/profileevaluator.cpp +++ b/src/linguist/shared/profileevaluator.cpp @@ -81,7 +81,7 @@ QStringList ProFileEvaluator::values(const QString &variableName) const QStringList ProFileEvaluator::values(const QString &variableName, const ProFile *pro) const { // It makes no sense to put any kind of magic into expanding these - const ProStringList &values = d->m_valuemapStack.first().value(ProKey(variableName)); + const ProStringList &values = d->m_valuemapStack.front().value(ProKey(variableName)); QStringList ret; ret.reserve(values.size()); foreach (const ProString &str, values) |