Avoid unnecessary copy

This commit is contained in:
Alexander Karatarakis 2016-12-19 15:39:57 -08:00
parent a1be45adc3
commit a077ccc4c7

View File

@ -507,7 +507,7 @@ namespace vcpkg { namespace PostBuildLint
static lint_status check_outdated_crt_linkage_of_dlls(const std::vector<fs::path>& dlls)
{
const std::vector<OutdatedDynamicCrt> outdated_crts = OutdatedDynamicCrt::values();
const std::vector<OutdatedDynamicCrt>& outdated_crts = OutdatedDynamicCrt::values();
std::vector<OutdatedDynamicCrt_and_file> dlls_with_outdated_crt;