summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallDirectoryGenerator.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-21 22:25:01 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-21 22:48:18 (GMT)
commit7284b15f8c9bb20618e5286b41ff2f13245dfb9c (patch)
tree34f680a23ea5de68236d0c486579fef362933ef6 /Source/cmInstallDirectoryGenerator.cxx
parente99dd765b750e666975837143986237f2e33138a (diff)
downloadCMake-7284b15f8c9bb20618e5286b41ff2f13245dfb9c.zip
CMake-7284b15f8c9bb20618e5286b41ff2f13245dfb9c.tar.gz
CMake-7284b15f8c9bb20618e5286b41ff2f13245dfb9c.tar.bz2
cmScriptGenerator: pass Indent by value
Diffstat (limited to 'Source/cmInstallDirectoryGenerator.cxx')
-rw-r--r--Source/cmInstallDirectoryGenerator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmInstallDirectoryGenerator.cxx b/Source/cmInstallDirectoryGenerator.cxx
index dfb3aeb..54ad85c 100644
--- a/Source/cmInstallDirectoryGenerator.cxx
+++ b/Source/cmInstallDirectoryGenerator.cxx
@@ -48,7 +48,7 @@ void cmInstallDirectoryGenerator::Compute(cmLocalGenerator* lg)
}
void cmInstallDirectoryGenerator::GenerateScriptActions(std::ostream& os,
- Indent const& indent)
+ Indent indent)
{
if (this->ActionsPerConfig) {
this->cmInstallGenerator::GenerateScriptActions(os, indent);
@@ -58,7 +58,7 @@ void cmInstallDirectoryGenerator::GenerateScriptActions(std::ostream& os,
}
void cmInstallDirectoryGenerator::GenerateScriptForConfig(
- std::ostream& os, const std::string& config, Indent const& indent)
+ std::ostream& os, const std::string& config, Indent indent)
{
std::vector<std::string> dirs;
cmGeneratorExpression ge;
@@ -82,7 +82,7 @@ void cmInstallDirectoryGenerator::GenerateScriptForConfig(
}
void cmInstallDirectoryGenerator::AddDirectoryInstallRule(
- std::ostream& os, const std::string& config, Indent const& indent,
+ std::ostream& os, const std::string& config, Indent indent,
std::vector<std::string> const& dirs)
{
// Write code to install the directories.