diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-10 13:03:34 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-10 13:03:34 -0700 |
| commit | 3e94a8db42804a6ac0cc71e5b74483ebd5958f83 (patch) | |
| tree | 5f173721f253ba96260e37952c8b47551ca5ef2c /toolsrc/include | |
| parent | 84e1a9d3e5b16f6e7e249dabc1bdf3bb27ab0da9 (diff) | |
| download | vcpkg-3e94a8db42804a6ac0cc71e5b74483ebd5958f83.tar.gz vcpkg-3e94a8db42804a6ac0cc71e5b74483ebd5958f83.zip | |
PackageSpec.target_triplet() -> ".triplet()
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/PackageSpec.h | 4 | ||||
| -rw-r--r-- | toolsrc/include/StatusParagraphs.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/toolsrc/include/PackageSpec.h b/toolsrc/include/PackageSpec.h index 110f74b51..fa6b2c5f5 100644 --- a/toolsrc/include/PackageSpec.h +++ b/toolsrc/include/PackageSpec.h @@ -13,7 +13,7 @@ namespace vcpkg const std::string& name() const; - const Triplet& target_triplet() const; + const Triplet& triplet() const; std::string dir() const; @@ -36,7 +36,7 @@ namespace std { size_t hash = 17; hash = hash * 31 + std::hash<std::string>()(value.name()); - hash = hash * 31 + std::hash<vcpkg::Triplet>()(value.target_triplet()); + hash = hash * 31 + std::hash<vcpkg::Triplet>()(value.triplet()); return hash; } }; diff --git a/toolsrc/include/StatusParagraphs.h b/toolsrc/include/StatusParagraphs.h index 82d2a0d1f..9c7f443d0 100644 --- a/toolsrc/include/StatusParagraphs.h +++ b/toolsrc/include/StatusParagraphs.h @@ -16,14 +16,14 @@ namespace vcpkg const_iterator find(const PackageSpec& spec) const { - return find(spec.name(), spec.target_triplet()); + return find(spec.name(), spec.triplet()); } const_iterator find(const std::string& name, const Triplet& target_triplet) const; iterator find(const std::string& name, const Triplet& target_triplet); const_iterator find_installed(const PackageSpec& spec) const { - return find_installed(spec.name(), spec.target_triplet()); + return find_installed(spec.name(), spec.triplet()); } const_iterator find_installed(const std::string& name, const Triplet& target_triplet) const; |
