diff options
author | Brad King <brad.king@kitware.com> | 2017-06-05 13:44:21 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-06-05 13:44:24 (GMT) |
commit | c6ea3f01c3e78145b8fd3dd534d8803d8f7e7bd7 (patch) | |
tree | f4cfbaf9a7901e46f8914351bd52ebe47a132d12 /Source/cmGlobalGenerator.cxx | |
parent | 8a68a2ceb355621da21983c2571ead15d2b98dea (diff) | |
parent | b1ec5deaf15be459658b8fb0392e4d4a4ec1a0dd (diff) | |
download | CMake-c6ea3f01c3e78145b8fd3dd534d8803d8f7e7bd7.zip CMake-c6ea3f01c3e78145b8fd3dd534d8803d8f7e7bd7.tar.gz CMake-c6ea3f01c3e78145b8fd3dd534d8803d8f7e7bd7.tar.bz2 |
Merge topic 'lint-function-args'
b1ec5dea Pass large types by const&, small types by value
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !927
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 608ac02..099f705 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -1485,13 +1485,13 @@ cmGlobalGenerator::CreateQtAutoGeneratorsTargets() } cmLinkLineComputer* cmGlobalGenerator::CreateLinkLineComputer( - cmOutputConverter* outputConverter, cmStateDirectory stateDir) const + cmOutputConverter* outputConverter, cmStateDirectory const& stateDir) const { return new cmLinkLineComputer(outputConverter, stateDir); } cmLinkLineComputer* cmGlobalGenerator::CreateMSVC60LinkLineComputer( - cmOutputConverter* outputConverter, cmStateDirectory stateDir) const + cmOutputConverter* outputConverter, cmStateDirectory const& stateDir) const { return new cmMSVC60LinkLineComputer(outputConverter, stateDir); } |