diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-09-28 12:39:05 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-09-29 15:00:40 -0700 |
| commit | fb1130876f228464254e3e818fae42445405f6ed (patch) | |
| tree | 879e126efe14076434eca350a7aae44aba3b6515 /toolsrc/include | |
| parent | ac2e248e8f6c482811e33bcc1f311b0543be2d80 (diff) | |
| download | vcpkg-fb1130876f228464254e3e818fae42445405f6ed.tar.gz vcpkg-fb1130876f228464254e3e818fae42445405f6ed.zip | |
Valiting triplets is now the responsibility of vcpkg_paths
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/triplet.h | 4 | ||||
| -rw-r--r-- | toolsrc/include/vcpkg_paths.h | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/toolsrc/include/triplet.h b/toolsrc/include/triplet.h index 23c1ea404..f9d1e9483 100644 --- a/toolsrc/include/triplet.h +++ b/toolsrc/include/triplet.h @@ -4,8 +4,6 @@ namespace vcpkg { - struct vcpkg_paths; - struct triplet { static const triplet X86_WINDOWS; @@ -19,8 +17,6 @@ namespace vcpkg std::string architecture() const; std::string system() const; - - bool validate(const vcpkg_paths& paths) const; }; bool operator==(const triplet& left, const triplet& right); diff --git a/toolsrc/include/vcpkg_paths.h b/toolsrc/include/vcpkg_paths.h index 72cba01b7..c444d695e 100644 --- a/toolsrc/include/vcpkg_paths.h +++ b/toolsrc/include/vcpkg_paths.h @@ -13,6 +13,7 @@ namespace vcpkg fs::path package_dir(const package_spec& spec) const; fs::path port_dir(const package_spec& spec) const; + bool validate_triplet(const triplet& t) const; std::tr2::sys::path root; std::tr2::sys::path packages; |
