From 0cdd0d982a1425d64fca2ff424a9b5e843f5d063 Mon Sep 17 00:00:00 2001 From: Leander Schulten Date: Tue, 5 Oct 2021 16:17:23 +0200 Subject: [PATCH] Fix build --- src/vcpkg/dependencies.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vcpkg/dependencies.cpp b/src/vcpkg/dependencies.cpp index bd61697c7e..0346a8c92c 100644 --- a/src/vcpkg/dependencies.cpp +++ b/src/vcpkg/dependencies.cpp @@ -243,7 +243,7 @@ namespace vcpkg::Dependencies Checks::check_maybe_upgrade(VCPKG_LINE_INFO, maybe_paragraph.has_value(), "Package %s does not have a %s feature", - spec.name(), + spec.port(), spec.feature()); return maybe_paragraph.get()->supports_expression; @@ -882,7 +882,7 @@ namespace vcpkg::Dependencies m_var_provider.get_dep_info_vars(spec.spec()).value_or_exit(VCPKG_LINE_INFO))) { const auto msg = Strings::format("%s[%s] is only supported on '%s'", - spec.name(), + spec.port(), spec.feature(), to_string(*supports_expression.get())); if (unsupported_port_action == UnsupportedPortAction::Error)