summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpression.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-08 17:01:01 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-08 18:05:36 (GMT)
commitcfc2cf9559eacbf45d04249ee1dd7f75bb0cdff0 (patch)
tree608adc93feb8296339b4cd035ddf34a10995af94 /Source/cmGeneratorExpression.h
parentf0ad6631adb7cd364e2bcf5e8738c697c902e0ad (diff)
downloadCMake-cfc2cf9559eacbf45d04249ee1dd7f75bb0cdff0.zip
CMake-cfc2cf9559eacbf45d04249ee1dd7f75bb0cdff0.tar.gz
CMake-cfc2cf9559eacbf45d04249ee1dd7f75bb0cdff0.tar.bz2
cmGeneratorExpression: Tokenize over strings
Diffstat (limited to 'Source/cmGeneratorExpression.h')
-rw-r--r--Source/cmGeneratorExpression.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGeneratorExpression.h b/Source/cmGeneratorExpression.h
index 58abf14..9aa590d 100644
--- a/Source/cmGeneratorExpression.h
+++ b/Source/cmGeneratorExpression.h
@@ -100,7 +100,7 @@ public:
~cmCompiledGeneratorExpression();
- std::string GetInput() const
+ std::string const& GetInput() const
{
return this->Input;
}
@@ -116,7 +116,7 @@ public:
private:
cmCompiledGeneratorExpression(cmListFileBacktrace const& backtrace,
- const char *input);
+ const std::string& input);
friend class cmGeneratorExpression;