Ver Fonte

cmMakeDepend: Use public cmMakefile API.

Stephen Kelly há 10 anos atrás
pai
commit
3029c27e46
1 ficheiros alterados com 1 adições e 1 exclusões
  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;