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.
This commit is contained in:
Daniel Pfeifer
2016-12-25 23:27:48 +01:00
parent 38bfe65eba
commit 5396bc92d0
2 changed files with 1 additions and 2 deletions

View File

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

View File

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