From a077ccc4c7dfd7f2fd3a63aed9458952febcd94a Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Mon, 19 Dec 2016 15:39:57 -0800 Subject: [PATCH] Avoid unnecessary copy --- toolsrc/src/post_build_lint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;