diff --git a/toolsrc/src/post_build_lint.cpp b/toolsrc/src/post_build_lint.cpp index 3043bd4fa8..4f0adf6778 100644 --- a/toolsrc/src/post_build_lint.cpp +++ b/toolsrc/src/post_build_lint.cpp @@ -507,7 +507,7 @@ namespace vcpkg { namespace PostBuildLint static lint_status check_outdated_crt_linkage_of_dlls(const std::vector& dlls) { - const std::vector outdated_crts = OutdatedDynamicCrt::values(); + const std::vector& outdated_crts = OutdatedDynamicCrt::values(); std::vector dlls_with_outdated_crt;