summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/Glob.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-02-12 13:35:12 (GMT)
committerBrad King <brad.king@kitware.com>2019-02-12 13:35:12 (GMT)
commitded4bc136e5b120b2d047dc9b8eb6f7446043d08 (patch)
tree052052ff36a666f1c670ad612f90620fe6d43847 /Source/kwsys/Glob.cxx
parent9d2ab63aaf5fb29d812dbfc942da4d7671c5d1b3 (diff)
parentf3999a21c85e6caf19feef7c90afce3969d9102a (diff)
downloadCMake-ded4bc136e5b120b2d047dc9b8eb6f7446043d08.zip
CMake-ded4bc136e5b120b2d047dc9b8eb6f7446043d08.tar.gz
CMake-ded4bc136e5b120b2d047dc9b8eb6f7446043d08.tar.bz2
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys: KWSys 2019-02-12 (44676809)
Diffstat (limited to 'Source/kwsys/Glob.cxx')
-rw-r--r--Source/kwsys/Glob.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/Glob.cxx b/Source/kwsys/Glob.cxx
index 6952d24..829c138 100644
--- a/Source/kwsys/Glob.cxx
+++ b/Source/kwsys/Glob.cxx
@@ -263,7 +263,7 @@ bool Glob::RecurseDirectory(std::string::size_type start,
}
} else {
if (!this->Internals->Expressions.empty() &&
- this->Internals->Expressions.rbegin()->find(fname)) {
+ this->Internals->Expressions.back().find(fname)) {
this->AddFile(this->Internals->Files, realname);
}
}