diff options
author | Brad King <brad.king@kitware.com> | 2017-06-01 18:07:35 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-06-01 18:07:35 (GMT) |
commit | 594a9fcf6fa1ad9bcfe91abe7d94df2e92f3d11b (patch) | |
tree | 1e39e0513a6af72bf692be1a467eaa0f673a4cff /Source/kwsys/Directory.cxx | |
parent | 6a42b9609f1d0a047394a8d63fb8ddb803abce34 (diff) | |
parent | 74ef363dd7e46fc883b9822f3516002d9345293e (diff) | |
download | CMake-594a9fcf6fa1ad9bcfe91abe7d94df2e92f3d11b.zip CMake-594a9fcf6fa1ad9bcfe91abe7d94df2e92f3d11b.tar.gz CMake-594a9fcf6fa1ad9bcfe91abe7d94df2e92f3d11b.tar.bz2 |
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys:
KWSys 2017-06-01 (8243fefa)
Diffstat (limited to 'Source/kwsys/Directory.cxx')
-rw-r--r-- | Source/kwsys/Directory.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/Directory.cxx b/Source/kwsys/Directory.cxx index ca1cb18..5141d45 100644 --- a/Source/kwsys/Directory.cxx +++ b/Source/kwsys/Directory.cxx @@ -109,7 +109,7 @@ bool Directory::Load(const std::string& name) // Make sure the slashes in the wildcard suffix are consistent with the // rest of the path buf = new char[n + 2 + 1]; - if (name.find('\\') != name.npos) { + if (name.find('\\') != std::string::npos) { sprintf(buf, "%s\\*", name.c_str()); } else { sprintf(buf, "%s/*", name.c_str()); |