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/PackageSpec.h | |
| parent | 84e1a9d3e5b16f6e7e249dabc1bdf3bb27ab0da9 (diff) | |
| download | vcpkg-3e94a8db42804a6ac0cc71e5b74483ebd5958f83.tar.gz vcpkg-3e94a8db42804a6ac0cc71e5b74483ebd5958f83.zip | |
PackageSpec.target_triplet() -> ".triplet()
Diffstat (limited to 'toolsrc/include/PackageSpec.h')
| -rw-r--r-- | toolsrc/include/PackageSpec.h | 4 |
1 files changed, 2 insertions, 2 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; } }; |
