Browse Source

cmMakeDepend: Use public cmMakefile API.

Stephen Kelly 10 years ago
parent
commit
3029c27e46
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmMakeDepend.cxx

+ 1 - 1
Source/cmMakeDepend.cxx

@@ -51,7 +51,7 @@ void cmMakeDepend::SetMakefile(cmMakefile* makefile)
   this->IncludeFileRegularExpression.compile(
     this->Makefile->GetIncludeRegularExpression());
   this->ComplainFileRegularExpression.compile(
-    this->Makefile->ComplainFileRegularExpression.c_str());
+    this->Makefile->GetComplainRegularExpression());
 
   // Now extract any include paths from the targets
   std::set<std::string> uniqueIncludes;