diff options
Diffstat (limited to 'toolsrc/src')
| -rw-r--r-- | toolsrc/src/BinaryParagraph.cpp | 2 | ||||
| -rw-r--r-- | toolsrc/src/triplet.cpp | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/toolsrc/src/BinaryParagraph.cpp b/toolsrc/src/BinaryParagraph.cpp index 35351f153..89f57e51b 100644 --- a/toolsrc/src/BinaryParagraph.cpp +++ b/toolsrc/src/BinaryParagraph.cpp @@ -85,7 +85,7 @@ namespace vcpkg os << "\n"; } - os << "Architecture: " << p.spec.target_triplet() << "\n"; + os << "Architecture: " << p.spec.target_triplet().to_string() << "\n"; os << "Multi-Arch: same\n"; if (!p.maintainer.empty()) os << "Maintainer: " << p.maintainer << "\n"; diff --git a/toolsrc/src/triplet.cpp b/toolsrc/src/triplet.cpp index 2831b5d02..cbdafb14c 100644 --- a/toolsrc/src/triplet.cpp +++ b/toolsrc/src/triplet.cpp @@ -21,11 +21,6 @@ namespace vcpkg return !(left == right); } - std::ostream& operator<<(std::ostream& os, const Triplet& t) - { - return os << t.to_string(); - } - Triplet Triplet::from_canonical_name(const std::string& triplet_as_string) { const std::string s(Strings::ascii_to_lowercase(triplet_as_string)); |
