diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-05-05 00:26:51 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-05-05 00:26:51 -0700 |
| commit | fcb60f72593275a5727c93edc31f0a35d420d069 (patch) | |
| tree | 4ffb3ccec34ddb347925c2cb874063f274aae61f /toolsrc/src/triplet.cpp | |
| parent | dc2bdbd4adb27ac81b5e7e91d8275913838bc4a1 (diff) | |
| parent | e4c5ef656607a1165566b338f5a85f907a627f86 (diff) | |
| download | vcpkg-fcb60f72593275a5727c93edc31f0a35d420d069.tar.gz vcpkg-fcb60f72593275a5727c93edc31f0a35d420d069.zip | |
Merge branch 'master' into KindDragon-snappy
Diffstat (limited to 'toolsrc/src/triplet.cpp')
| -rw-r--r-- | toolsrc/src/triplet.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/toolsrc/src/triplet.cpp b/toolsrc/src/triplet.cpp index 411c6c28a..ff41ce77d 100644 --- a/toolsrc/src/triplet.cpp +++ b/toolsrc/src/triplet.cpp @@ -32,17 +32,5 @@ namespace vcpkg const std::string& Triplet::canonical_name() const { return this->m_canonical_name; } - std::string Triplet::architecture() const - { - auto it = std::find(this->m_canonical_name.cbegin(), this->m_canonical_name.cend(), '-'); - return std::string(this->m_canonical_name.cbegin(), it); - } - - std::string Triplet::system() const - { - auto it = std::find(this->m_canonical_name.cbegin(), this->m_canonical_name.cend(), '-'); - return std::string(it + 1, this->m_canonical_name.cend()); - } - const std::string& Triplet::to_string() const { return this->m_canonical_name; } } |
