浏览代码

ERR: Dummy InitialPass implementation must return a value.

Brad King 23 年之前
父节点
当前提交
be66f58157
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmEndForEachCommand.h

+ 1 - 1
Source/cmEndForEachCommand.h

@@ -46,7 +46,7 @@ public:
    * This is called when the command is first encountered in
    * the CMakeLists.txt file.
    */
-  virtual bool InitialPass(std::vector<std::string> const&) {}
+  virtual bool InitialPass(std::vector<std::string> const&) {return false;}
 
   /**
    * This determines if the command gets propagated down