Converted a load of spelt out iterators to auto

This commit is contained in:
Phil Nash
2017-07-18 08:08:17 +01:00
parent 7ccf11da29
commit 01a21f67f7
7 changed files with 7 additions and 7 deletions

View File

@@ -217,7 +217,7 @@ namespace Catch {
if ( itMessage == messages.end() )
return;
// using messages.end() directly yields compilation error:
// using messages.end() directly yields (or auto) compilation error:
std::vector<MessageInfo>::const_iterator itEnd = messages.end();
const std::size_t N = static_cast<std::size_t>( std::distance( itMessage, itEnd ) );