summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-04 02:06:17 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-08 18:05:29 (GMT)
commitf29754573d2b2a199f17be80eb01ae309699bb23 (patch)
treed2e18952f2cbd146672d735ddc92e1313f269874 /Source/cmMakefile.h
parent381d50c149183183378b446fd789b1bd18c7524c (diff)
downloadCMake-f29754573d2b2a199f17be80eb01ae309699bb23.zip
CMake-f29754573d2b2a199f17be80eb01ae309699bb23.tar.gz
CMake-f29754573d2b2a199f17be80eb01ae309699bb23.tar.bz2
stringapi: Accept string parameters in methods which store to strings
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index fc71ab7..79931ad 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -494,7 +494,7 @@ public:
* Set a regular expression that include files that are not found
* must match in order to be considered a problem.
*/
- void SetComplainRegularExpression(const char* regex)
+ void SetComplainRegularExpression(const std::string& regex)
{
this->ComplainFileRegularExpression = regex;
}