diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2016-09-27 15:51:16 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2016-09-27 15:51:16 -0700 |
| commit | cc29d43f8577be1e053572c83958e633fbbea4e5 (patch) | |
| tree | ee3d05c01cfb442d0da7a73515093b10892ef23f /toolsrc/src/triplet.cpp | |
| parent | 2ed13a583d5c8537680125d2ab5ec77b0f63503c (diff) | |
| parent | 687ac42cdd39fece9ed816836c049607f8d1223b (diff) | |
| download | vcpkg-cc29d43f8577be1e053572c83958e633fbbea4e5.tar.gz vcpkg-cc29d43f8577be1e053572c83958e633fbbea4e5.zip | |
Merge branch 'master' of https://github.com/microsoft/vcpkg
Diffstat (limited to 'toolsrc/src/triplet.cpp')
| -rw-r--r-- | toolsrc/src/triplet.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolsrc/src/triplet.cpp b/toolsrc/src/triplet.cpp index 14f19d5cd..4270c458d 100644 --- a/toolsrc/src/triplet.cpp +++ b/toolsrc/src/triplet.cpp @@ -58,13 +58,13 @@ namespace vcpkg Checks::exit_with_message("Unknown system: %s", value); } - bool triplet::validate(const vcpkg_paths & paths) + bool triplet::validate(const vcpkg_paths& paths) const { auto it = fs::directory_iterator(paths.triplets); - for(; it != fs::directory_iterator(); ++it) + for (; it != fs::directory_iterator(); ++it) { std::string triplet_file_name = it->path().stem().generic_u8string(); - if(value == triplet_file_name) // TODO: fuzzy compare + if (value == triplet_file_name) // TODO: fuzzy compare { //value = triplet_file_name; // NOTE: uncomment when implementing fuzzy compare return true; |
