浏览代码

ERR: Removed duplicate default arguments.

Brad King 21 年之前
父节点
当前提交
f99d948916
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Source/cmMakefile.cxx

+ 2 - 2
Source/cmMakefile.cxx

@@ -1424,8 +1424,8 @@ const char *cmMakefile::ExpandVariablesInString(std::string& source) const
 const char *cmMakefile::ExpandVariablesInString(std::string& source,
                                                 bool escapeQuotes,
                                                 bool atOnly,
-                                                const char* filename = 0,
-                                                long line = -1) const
+                                                const char* filename,
+                                                long line) const
 {
   // This method replaces ${VAR} and @VAR@ where VAR is looked up
   // with GetDefinition(), if not found in the map, nothing is expanded.