diff options
author | Aaron Orenstein <aorenste@fb.com> | 2017-08-18 14:59:52 (GMT) |
---|---|---|
committer | Aaron Orenstein <aorenste@fb.com> | 2017-08-18 14:59:52 (GMT) |
commit | 7bc65770171924e550d2937b07b54b83b9fb59ab (patch) | |
tree | 939ec4a9f494913f76d82b0d9e219b95c178f426 /Source/cmGlobalGhsMultiGenerator.h | |
parent | 10edb0c7d52b1252517990c2e8b898a804f440d3 (diff) | |
download | CMake-7bc65770171924e550d2937b07b54b83b9fb59ab.zip CMake-7bc65770171924e550d2937b07b54b83b9fb59ab.tar.gz CMake-7bc65770171924e550d2937b07b54b83b9fb59ab.tar.bz2 |
Performance: Fix a few more unnecessary vector copies missed in af3fd6f
Diffstat (limited to 'Source/cmGlobalGhsMultiGenerator.h')
-rw-r--r-- | Source/cmGlobalGhsMultiGenerator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGhsMultiGenerator.h b/Source/cmGlobalGhsMultiGenerator.h index 7b3eebb..05a3a3c 100644 --- a/Source/cmGlobalGhsMultiGenerator.h +++ b/Source/cmGlobalGhsMultiGenerator.h @@ -116,7 +116,7 @@ private: std::vector<cmsys::String>::const_iterator end, GhsMultiGpj::Types projType); static std::string GetFileNameFromPath(std::string const& path); - void UpdateBuildFiles(std::vector<cmGeneratorTarget*> tgts); + void UpdateBuildFiles(const std::vector<cmGeneratorTarget*>& tgts); bool IsTgtForBuild(const cmGeneratorTarget* tgt); std::vector<cmGeneratedFileStream*> TargetSubProjects; |