From 5d2f44859248f1ef32d4c79b6b22eec95b18db1a Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Fri, 27 Jan 2017 13:01:22 -0800 Subject: Use Strings::join() --- toolsrc/src/commands_install.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/toolsrc/src/commands_install.cpp b/toolsrc/src/commands_install.cpp index 6fc0e32f0..a8ddf35f4 100644 --- a/toolsrc/src/commands_install.cpp +++ b/toolsrc/src/commands_install.cpp @@ -153,12 +153,7 @@ namespace vcpkg::Commands::Install System::println(System::color::error, "The following files are already installed in %s and are in conflict with %s", triplet_install_path.generic_string(), binary_paragraph.spec); - System::println(""); - for (const std::string& s : intersection) - { - System::println(" %s", s); - } - System::println(""); + Strings::join(intersection, "\n "); exit(EXIT_FAILURE); } -- cgit v1.2.3