diff options
author | Brad King <brad.king@kitware.com> | 2019-09-12 13:15:09 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-09-12 13:15:38 (GMT) |
commit | 1a1508c8b840ae016dc8db9da6be4cbe59d5f1aa (patch) | |
tree | 0d43865e3fc9e04870c6d7e1360ee81d1da1a68c /Source/CTest/cmCTestSVN.cxx | |
parent | d83bff86409c0e414046d2aeb75946037e0d2de3 (diff) | |
parent | d25a5a7ec91bfa072d3cf1a302830a54506c88c0 (diff) | |
download | CMake-1a1508c8b840ae016dc8db9da6be4cbe59d5f1aa.zip CMake-1a1508c8b840ae016dc8db9da6be4cbe59d5f1aa.tar.gz CMake-1a1508c8b840ae016dc8db9da6be4cbe59d5f1aa.tar.bz2 |
Merge topic 'modernize-use-auto'
d25a5a7ec9 clang-tidy: modernize-use-auto
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3783
Diffstat (limited to 'Source/CTest/cmCTestSVN.cxx')
-rw-r--r-- | Source/CTest/cmCTestSVN.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestSVN.cxx b/Source/CTest/cmCTestSVN.cxx index 6d8077f..a945111 100644 --- a/Source/CTest/cmCTestSVN.cxx +++ b/Source/CTest/cmCTestSVN.cxx @@ -169,7 +169,7 @@ void cmCTestSVN::GuessBase(SVNInfo& svninfo, slash = svninfo.URL.find('/', slash + 1)) { // If the URL suffix is a prefix of at least one path then it is the base. std::string base = cmCTest::DecodeURL(svninfo.URL.substr(slash)); - for (std::vector<Change>::const_iterator ci = changes.begin(); + for (auto ci = changes.begin(); svninfo.Base.empty() && ci != changes.end(); ++ci) { if (cmCTestSVNPathStarts(ci->Path, base)) { svninfo.Base = base; |