At that point in the ARM unwinder, the non-POD QMap global static (!)
is not const, so QMap::lowerBound returns a regular iterator.
Change-Id: Ia4dad7ee1a9cf593b0e1d273d193337fac7d9b69
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
static Function *lookupFunction(void *pc)
{
quintptr key = reinterpret_cast<quintptr>(pc);
- QMap<quintptr, Function*>::ConstIterator it = allFunctions.lowerBound(key);
+ QMap<quintptr, Function*>::Iterator it = allFunctions.lowerBound(key);
if (it != allFunctions.begin() && allFunctions.count() > 0)
--it;
if (it == allFunctions.end())