aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-09-28 12:39:05 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-09-29 15:00:40 -0700
commitfb1130876f228464254e3e818fae42445405f6ed (patch)
tree879e126efe14076434eca350a7aae44aba3b6515 /toolsrc/include
parentac2e248e8f6c482811e33bcc1f311b0543be2d80 (diff)
downloadvcpkg-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.h4
-rw-r--r--toolsrc/include/vcpkg_paths.h1
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;