Skip to content
Snippets Groups Projects
Commit d1c39df9 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

use size_t in loop control variable

parent 5199cfd7
No related branches found
No related tags found
1 merge request!95Many clang-tidy fixes
Pipeline #41249 canceled
...@@ -126,7 +126,7 @@ int SubtreeJumpTable::buildDataPointersBar ( ext::vector < int > & res, const T ...@@ -126,7 +126,7 @@ int SubtreeJumpTable::buildDataPointersBar ( ext::vector < int > & res, const T
*/ */
template < class T > template < class T >
int SubtreeJumpTable::buildDataPointersPrefixRanked ( ext::vector < int > & res, const T & subject, int begin ) { int SubtreeJumpTable::buildDataPointersPrefixRanked ( ext::vector < int > & res, const T & subject, int begin ) {
for ( unsigned i = 0; i < subject.getContent ( ).size ( ); i++ ) for ( size_t i = 0; i < subject.getContent ( ).size ( ); i++ )
res.push_back ( 0 ); res.push_back ( 0 );
   
return buildDataPointersPrefixRankedInternal ( res, subject, begin ); return buildDataPointersPrefixRankedInternal ( res, subject, begin );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment