Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include/internal/catch_run_context.cpp
diff options
context:
space:
mode:
authorPhil Nash2017-07-18 08:08:17 +0100
committerPhil Nash2017-07-18 08:08:17 +0100
commit01a21f67f79d8bec7d767a735023751d6ebfc23a (patch)
tree707e2ba6e499eb97bcf7717699e03f48dc7966c5 /include/internal/catch_run_context.cpp
parent7ccf11da2995a47c0595eb3a3be4df30a4ad098f (diff)
downloadcatch3-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.cpp2
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)