diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-12-19 15:39:57 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-12-19 15:39:57 -0800 |
| commit | a077ccc4c7dfd7f2fd3a63aed9458952febcd94a (patch) | |
| tree | 22faed8f494af5bac202886bc911810b9afb61da /toolsrc/src/post_build_lint.cpp | |
| parent | a1be45adc3ca994df94f35483a190aac8722e088 (diff) | |
| download | vcpkg-a077ccc4c7dfd7f2fd3a63aed9458952febcd94a.tar.gz vcpkg-a077ccc4c7dfd7f2fd3a63aed9458952febcd94a.zip | |
Avoid unnecessary copy
Diffstat (limited to 'toolsrc/src/post_build_lint.cpp')
| -rw-r--r-- | toolsrc/src/post_build_lint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/post_build_lint.cpp b/toolsrc/src/post_build_lint.cpp index 3043bd4fa..4f0adf677 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<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; |
