diff --git a/languages/cpp/cppcodecompletion.cpp b/languages/cpp/cppcodecompletion.cpp index 9fe4b073..56e8a644 100644 --- a/languages/cpp/cppcodecompletion.cpp +++ b/languages/cpp/cppcodecompletion.cpp @@ -3892,15 +3892,15 @@ void CppCodeCompletion::computeCompletionEntryList( SimpleType type, TQValueList ArgumentList fArgs = ( *it ) ->argumentList(); if ( fArgs.count() != args.count() ) continue; - ArgumentList::iterator it = args.begin(); + ArgumentList::iterator it3 = args.begin(); ArgumentList::iterator it2 = fArgs.begin(); bool hit = true; - while ( it != args.end() ) { - if ( ( *it ) ->type() != ( *it2 ) ->type() ) { + while ( it3 != args.end() ) { + if ( ( *it3 ) ->type() != ( *it2 ) ->type() ) { hit = false; break; } - ++it; + ++it3; ++it2; } if ( hit ) {