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

@@ -277,7 +277,7 @@ namespace Catch {
void RunContext::handleUnfinishedSections() {
// If sections ended prematurely due to an exception we stored their
// infos here so we can tear them down outside the unwind process.
for (std::vector<SectionEndInfo>::const_reverse_iterator it = m_unfinishedSections.rbegin(),
for (auto it = m_unfinishedSections.rbegin(),
itEnd = m_unfinishedSections.rend();
it != itEnd;
++it)