diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-07 17:53:57 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-07 17:53:57 -0700 |
| commit | 12f09d3151b44571ce64217ca4f6c5958d249cd6 (patch) | |
| tree | 2fedcdabec3e587bcb5dca37a1efaf52df08a598 /toolsrc/src/vcpkg_Input.cpp | |
| parent | 2069028b06181dab3c51b2dceb170594153c1204 (diff) | |
| download | vcpkg-12f09d3151b44571ce64217ca4f6c5958d249cd6.tar.gz vcpkg-12f09d3151b44571ce64217ca4f6c5958d249cd6.zip | |
Use Triplet.canonical_name() or .to_string()
Diffstat (limited to 'toolsrc/src/vcpkg_Input.cpp')
| -rw-r--r-- | toolsrc/src/vcpkg_Input.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/vcpkg_Input.cpp b/toolsrc/src/vcpkg_Input.cpp index d66065cc2..5cd889453 100644 --- a/toolsrc/src/vcpkg_Input.cpp +++ b/toolsrc/src/vcpkg_Input.cpp @@ -25,8 +25,8 @@ namespace vcpkg::Input { if (!paths.is_valid_triplet(t)) { - System::println(System::Color::error, "Error: invalid triplet: %s", t.canonical_name()); - Metrics::track_property("error", "invalid triplet: " + t.canonical_name()); + System::println(System::Color::error, "Error: invalid triplet: %s", t); + Metrics::track_property("error", "invalid triplet: " + t.to_string()); Commands::Help::help_topic_valid_triplet(paths); Checks::exit_fail(VCPKG_LINE_INFO); } |
