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/triplet.h | |
| parent | 378b018321ef443b027fc02e78c57721edc68d94 (diff) | |
| download | vcpkg-bdf80d63c663d6cc512db34be6a96cd9c66aaa99.tar.gz vcpkg-bdf80d63c663d6cc512db34be6a96cd9c66aaa99.zip | |
triplet -> Triplet
Diffstat (limited to 'toolsrc/include/triplet.h')
| -rw-r--r-- | toolsrc/include/triplet.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/toolsrc/include/triplet.h b/toolsrc/include/triplet.h index 614b3b909..8cf2413b0 100644 --- a/toolsrc/include/triplet.h +++ b/toolsrc/include/triplet.h @@ -4,15 +4,15 @@ namespace vcpkg { - struct triplet + struct Triplet { - static triplet from_canonical_name(const std::string& triplet_as_string); + static Triplet from_canonical_name(const std::string& triplet_as_string); - static const triplet X86_WINDOWS; - static const triplet X64_WINDOWS; - static const triplet X86_UWP; - static const triplet X64_UWP; - static const triplet ARM_UWP; + static const Triplet X86_WINDOWS; + static const Triplet X64_WINDOWS; + static const Triplet X86_UWP; + static const Triplet X64_UWP; + static const Triplet ARM_UWP; const std::string& canonical_name() const; @@ -24,23 +24,23 @@ namespace vcpkg std::string m_canonical_name; }; - bool operator==(const triplet& left, const triplet& right); + bool operator==(const Triplet& left, const Triplet& right); - bool operator!=(const triplet& left, const triplet& right); + bool operator!=(const Triplet& left, const Triplet& right); - std::string to_string(const triplet& spec); + std::string to_string(const Triplet& spec); - std::string to_printf_arg(const triplet& spec); + std::string to_printf_arg(const Triplet& spec); - std::ostream& operator<<(std::ostream& os, const triplet& spec); + std::ostream& operator<<(std::ostream& os, const Triplet& spec); } namespace std { template <> - struct hash<vcpkg::triplet> + struct hash<vcpkg::Triplet> { - size_t operator()(const vcpkg::triplet& t) const + size_t operator()(const vcpkg::Triplet& t) const { std::hash<std::string> hasher; size_t hash = 17; |
