瀏覽代碼

cmCommand: remove member Helper

The Helper member is used in a single derived class only.
Remove it from the base class to the only place where it is used.
Daniel Pfeifer 8 年之前
父節點
當前提交
5396bc92d0
共有 2 個文件被更改,包括 1 次插入2 次删除
  1. 0 2
      Source/cmCommand.h
  2. 1 0
      Source/cmExportCommand.h

+ 0 - 2
Source/cmCommand.h

@@ -7,7 +7,6 @@
 #include <string>
 #include <vector>
 
-#include "cmCommandArgumentsHelper.h"
 #include "cmPolicies.h"
 
 class cmExecutionStatus;
@@ -110,7 +109,6 @@ public:
 
 protected:
   cmMakefile* Makefile;
-  cmCommandArgumentsHelper Helper;
 
 private:
   std::string Error;

+ 1 - 0
Source/cmExportCommand.h

@@ -41,6 +41,7 @@ public:
   std::string GetName() const CM_OVERRIDE { return "export"; }
 
 private:
+  cmCommandArgumentsHelper Helper;
   cmCommandArgumentGroup ArgumentGroup;
   cmCAStringVector Targets;
   cmCAEnabler Append;