diff --git a/libs/traverselib.h b/libs/traverselib.h index 99d5c33d..1cd0a95e 100644 --- a/libs/traverselib.h +++ b/libs/traverselib.h @@ -372,7 +372,7 @@ public: template void forEach(const Functor& functor) { - for(Values::iterator i = m_values.begin(); i != m_values.end(); ++i) + for(typename Values::iterator i = m_values.begin(); i != m_values.end(); ++i) { functor(*(*i)); }