浏览代码

cmMakeDepend: Use public cmMakefile API.

Stephen Kelly 10 年之前
父节点
当前提交
3029c27e46
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmMakeDepend.cxx

+ 1 - 1
Source/cmMakeDepend.cxx

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