diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-06-02 19:01:01 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-06-03 22:48:21 (GMT) |
commit | b1ec5deaf15be459658b8fb0392e4d4a4ec1a0dd (patch) | |
tree | 3954dea8257e82f7be83a53519c43a7e9418526c /Source/cmMakefileTargetGenerator.cxx | |
parent | 3216c2178cfcc75d48f383a76ccff4aa052b5fdc (diff) | |
download | CMake-b1ec5deaf15be459658b8fb0392e4d4a4ec1a0dd.zip CMake-b1ec5deaf15be459658b8fb0392e4d4a4ec1a0dd.tar.gz CMake-b1ec5deaf15be459658b8fb0392e4d4a4ec1a0dd.tar.bz2 |
Pass large types by const&, small types by value
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileTargetGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index 1aeeb7d..a4511b6 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -1255,7 +1255,7 @@ class cmMakefileTargetGeneratorObjectStrings public: cmMakefileTargetGeneratorObjectStrings(std::vector<std::string>& strings, cmOutputConverter* outputConverter, - cmStateDirectory stateDir, + cmStateDirectory const& stateDir, std::string::size_type limit) : Strings(strings) , OutputConverter(outputConverter) @@ -1574,7 +1574,7 @@ std::string cmMakefileTargetGenerator::CreateResponseFile( } cmLinkLineComputer* cmMakefileTargetGenerator::CreateLinkLineComputer( - cmOutputConverter* outputConverter, cmStateDirectory stateDir) + cmOutputConverter* outputConverter, cmStateDirectory const& stateDir) { if (this->Makefile->IsOn("MSVC60")) { return this->GlobalGenerator->CreateMSVC60LinkLineComputer(outputConverter, |