summaryrefslogtreecommitdiff
path: root/Source/cmWriteFileCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmWriteFileCommand.cxx')
-rw-r--r--Source/cmWriteFileCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmWriteFileCommand.cxx b/Source/cmWriteFileCommand.cxx
index f569e80678..fc5fd21116 100644
--- a/Source/cmWriteFileCommand.cxx
+++ b/Source/cmWriteFileCommand.cxx
@@ -21,7 +21,7 @@ bool cmWriteFileCommand::InitialPass(std::vector<std::string> const& args,
std::string message;
std::vector<std::string>::const_iterator i = args.begin();
- std::string fileName = *i;
+ std::string const& fileName = *i;
bool overwrite = true;
i++;