From b1a4a0ddee5c68227f499ff8b940b30f39169e63 Mon Sep 17 00:00:00 2001 From: Thomas1664 <46387399+Thomas1664@users.noreply.github.com> Date: Tue, 30 Apr 2024 14:12:55 +0200 Subject: [PATCH] improve clarity --- src/vcpkg/base/system.console.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vcpkg/base/system.console.cpp b/src/vcpkg/base/system.console.cpp index 867a0f72be..8fed810d90 100644 --- a/src/vcpkg/base/system.console.cpp +++ b/src/vcpkg/base/system.console.cpp @@ -44,11 +44,11 @@ namespace vcpkg { std::lock_guard lck{mtx}; - for (auto&& line : lines) + for (auto&& [color, text] : lines) { - print_unlocked(line.first, line.second); + print_unlocked(color, text); - if (line.second.back() != '\n') + if (text.back() != '\n') { print_unlocked(Color::none, "\n"); }