summaryrefslogtreecommitdiffstats
path: root/Source/cmIncludeRegularExpressionCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmIncludeRegularExpressionCommand.cxx')
-rw-r--r--Source/cmIncludeRegularExpressionCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmIncludeRegularExpressionCommand.cxx b/Source/cmIncludeRegularExpressionCommand.cxx
index ef6e8c6..d6dfdd2 100644
--- a/Source/cmIncludeRegularExpressionCommand.cxx
+++ b/Source/cmIncludeRegularExpressionCommand.cxx
@@ -24,7 +24,7 @@ bool cmIncludeRegularExpressionCommand
if(args.size() > 1)
{
- this->Makefile->SetComplainRegularExpression(args[1].c_str());
+ this->Makefile->SetComplainRegularExpression(args[1]);
}
return true;