diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-03 15:02:45 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-04 16:44:42 -0700 |
| commit | bdf80d63c663d6cc512db34be6a96cd9c66aaa99 (patch) | |
| tree | 1ef318ec848d41ff62731fe7eff12e70cde28807 /toolsrc/include/PackageSpec.h | |
| parent | 378b018321ef443b027fc02e78c57721edc68d94 (diff) | |
| download | vcpkg-bdf80d63c663d6cc512db34be6a96cd9c66aaa99.tar.gz vcpkg-bdf80d63c663d6cc512db34be6a96cd9c66aaa99.zip | |
triplet -> Triplet
Diffstat (limited to 'toolsrc/include/PackageSpec.h')
| -rw-r--r-- | toolsrc/include/PackageSpec.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/toolsrc/include/PackageSpec.h b/toolsrc/include/PackageSpec.h index 4efd7a9ed..393e32f14 100644 --- a/toolsrc/include/PackageSpec.h +++ b/toolsrc/include/PackageSpec.h @@ -1,19 +1,19 @@ #pragma once #include "PackageSpecParseResult.h" -#include "triplet.h" +#include "Triplet.h" #include "vcpkg_expected.h" namespace vcpkg { struct PackageSpec { - static expected<PackageSpec> from_string(const std::string& spec_as_string, const triplet& default_target_triplet); + static expected<PackageSpec> from_string(const std::string& spec_as_string, const Triplet& default_target_triplet); - static expected<PackageSpec> from_name_and_triplet(const std::string& name, const triplet& target_triplet); + static expected<PackageSpec> from_name_and_triplet(const std::string& name, const Triplet& target_triplet); const std::string& name() const; - const triplet& target_triplet() const; + const Triplet& target_triplet() const; std::string display_name() const; @@ -23,7 +23,7 @@ namespace vcpkg private: std::string m_name; - triplet m_target_triplet; + Triplet m_target_triplet; }; std::string to_printf_arg(const PackageSpec& spec); @@ -42,7 +42,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.target_triplet()); return hash; } }; |
