summaryrefslogtreecommitdiffstats
path: root/Source/cmStringCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmStringCommand.cxx')
-rw-r--r--Source/cmStringCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmStringCommand.cxx b/Source/cmStringCommand.cxx
index d7b6a91..d0063c8 100644
--- a/Source/cmStringCommand.cxx
+++ b/Source/cmStringCommand.cxx
@@ -29,7 +29,7 @@ bool cmStringCommand::InitialPass(std::vector<std::string> const& args)
return false;
}
- std::string subCommand = args[0];
+ const std::string &subCommand = args[0];
if(subCommand == "REGEX")
{
return this->HandleRegexCommand(args);