summaryrefslogtreecommitdiff
path: root/Source/cmInstallGenerator.h
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-06-02 21:01:01 +0200
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-06-04 00:48:21 +0200
commitb1ec5deaf15be459658b8fb0392e4d4a4ec1a0dd (patch)
tree3954dea8257e82f7be83a53519c43a7e9418526c /Source/cmInstallGenerator.h
parent3216c2178cfcc75d48f383a76ccff4aa052b5fdc (diff)
downloadcmake-b1ec5deaf15be459658b8fb0392e4d4a4ec1a0dd.tar.gz
Pass large types by const&, small types by value
Diffstat (limited to 'Source/cmInstallGenerator.h')
-rw-r--r--Source/cmInstallGenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmInstallGenerator.h b/Source/cmInstallGenerator.h
index de19f98011..8f8701f1ad 100644
--- a/Source/cmInstallGenerator.h
+++ b/Source/cmInstallGenerator.h
@@ -43,7 +43,7 @@ public:
std::vector<std::string> const& files, bool optional = false,
const char* permissions_file = CM_NULLPTR,
const char* permissions_dir = CM_NULLPTR, const char* rename = CM_NULLPTR,
- const char* literal_args = CM_NULLPTR, Indent const& indent = Indent());
+ const char* literal_args = CM_NULLPTR, Indent indent = Indent());
/** Get the install destination as it should appear in the
installation script. */