diff options
-rw-r--r-- | languages/cpp/cppcodecompletion.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/languages/cpp/cppcodecompletion.cpp b/languages/cpp/cppcodecompletion.cpp index a6107480..68b3f2db 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 ) { |