summaryrefslogtreecommitdiffstats
path: root/Source/cmStringCommand.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-10-17 20:42:47 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-10-17 20:42:47 (GMT)
commit985d092d4d9f6d38c794755c3c64405ef7ec8d35 (patch)
tree382b35ed4376ba936acb4f160dd4fc5b76173dc6 /Source/cmStringCommand.cxx
parent427ed70363ad4aea83e071f46d9704f69472017d (diff)
downloadCMake-985d092d4d9f6d38c794755c3c64405ef7ec8d35.zip
CMake-985d092d4d9f6d38c794755c3c64405ef7ec8d35.tar.gz
CMake-985d092d4d9f6d38c794755c3c64405ef7ec8d35.tar.bz2
ENH: Add rudamentary mathematical expression support
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);