mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 05:39:30 +08:00
Avoid unnecessary copy
This commit is contained in:
parent
a1be45adc3
commit
a077ccc4c7
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user