diff options
| author | Phil Nash | 2017-07-18 08:08:17 +0100 |
|---|---|---|
| committer | Phil Nash | 2017-07-18 08:08:17 +0100 |
| commit | 01a21f67f79d8bec7d767a735023751d6ebfc23a (patch) | |
| tree | 707e2ba6e499eb97bcf7717699e03f48dc7966c5 /include/internal/catch_run_context.cpp | |
| parent | 7ccf11da2995a47c0595eb3a3be4df30a4ad098f (diff) | |
| download | catch3-01a21f67f79d8bec7d767a735023751d6ebfc23a.tar.gz | |
Converted a load of spelt out iterators to auto
Diffstat (limited to 'include/internal/catch_run_context.cpp')
| -rw-r--r-- | include/internal/catch_run_context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/catch_run_context.cpp b/include/internal/catch_run_context.cpp index a44e6a64..a8d36122 100644 --- a/include/internal/catch_run_context.cpp +++ b/include/internal/catch_run_context.cpp @@ -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) |