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

std: use more precise datatype

parent 45bd27ff
No related branches found
No related tags found
1 merge request!203Adress some more clang-tidy issues
......@@ -52,7 +52,7 @@ object::Object stringApi < object::Object >::parse ( ext::istream & input ) {
return entry.first ( input );
};
 
int pos = input.tellg();
std::streamoff pos = input.tellg();
 
auto callback = find_if ( parseFunctions ( ).begin ( ), parseFunctions ( ).end ( ), lambda );
if ( callback == parseFunctions ( ).end ( ) )
......
......@@ -54,7 +54,7 @@ std::shared_ptr < abstraction::OperationAbstraction > StringReaderRegistry::getA
 
const auto & entries = entryIterator->second;
 
int pos = ss.tellg();
std::streamoff pos = ss.tellg();
 
typename ext::list < std::pair < std::function < bool ( ext::istream & ) >, std::unique_ptr < Entry > > >::const_iterator callback = find_if ( entries.begin ( ), entries.end ( ), lambda );
if ( callback == entries.end ( ) )
......
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