diff options
Diffstat (limited to 'src/qmlcompiler/qqmljsscope.cpp')
-rw-r--r-- | src/qmlcompiler/qqmljsscope.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmlcompiler/qqmljsscope.cpp b/src/qmlcompiler/qqmljsscope.cpp index bfe970b966..209ce3c622 100644 --- a/src/qmlcompiler/qqmljsscope.cpp +++ b/src/qmlcompiler/qqmljsscope.cpp @@ -845,7 +845,7 @@ void QQmlJSScope::addOwnPropertyBinding(const QQmlJSMetaPropertyBinding &binding // NB: insert() prepends \a binding to the list of bindings, but we need // append, so rotate using iter = typename QMultiHash<QString, QQmlJSMetaPropertyBinding>::iterator; - QPair<iter, iter> r = m_propertyBindings.equal_range(binding.propertyName()); + std::pair<iter, iter> r = m_propertyBindings.equal_range(binding.propertyName()); std::rotate(r.first, std::next(r.first), r.second); // additionally store bindings in the QmlIR compatible order |