summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallGenerator.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-06-02 19:01:01 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-06-03 22:48:21 (GMT)
commitb1ec5deaf15be459658b8fb0392e4d4a4ec1a0dd (patch)
tree3954dea8257e82f7be83a53519c43a7e9418526c /Source/cmInstallGenerator.cxx
parent3216c2178cfcc75d48f383a76ccff4aa052b5fdc (diff)
downloadCMake-b1ec5deaf15be459658b8fb0392e4d4a4ec1a0dd.zip
CMake-b1ec5deaf15be459658b8fb0392e4d4a4ec1a0dd.tar.gz
CMake-b1ec5deaf15be459658b8fb0392e4d4a4ec1a0dd.tar.bz2
Pass large types by const&, small types by value
Diffstat (limited to 'Source/cmInstallGenerator.cxx')
-rw-r--r--Source/cmInstallGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmInstallGenerator.cxx b/Source/cmInstallGenerator.cxx
index 120d1b3..13b588e 100644
--- a/Source/cmInstallGenerator.cxx
+++ b/Source/cmInstallGenerator.cxx
@@ -27,7 +27,7 @@ void cmInstallGenerator::AddInstallRule(
std::vector<std::string> const& files, bool optional /* = false */,
const char* permissions_file /* = 0 */,
const char* permissions_dir /* = 0 */, const char* rename /* = 0 */,
- const char* literal_args /* = 0 */, Indent const& indent)
+ const char* literal_args /* = 0 */, Indent indent)
{
// Use the FILE command to install the file.
std::string stype;