diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-12-25 23:27:48 +0100 |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-02-13 20:48:29 +0100 |
commit | 5396bc92d0162fa9a9462e15ccaae8764da8ff98 (patch) | |
tree | 7b6ab8f2a0b7a9cbd57cb57d3ba168dd6cfb91b1 /Source | |
parent | 38bfe65eba21c697d05e8bed79635fc125cdac17 (diff) | |
download | cmake-5396bc92d0162fa9a9462e15ccaae8764da8ff98.tar.gz |
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.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmCommand.h | 2 | ||||
-rw-r--r-- | Source/cmExportCommand.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmCommand.h b/Source/cmCommand.h index d9fd5a286d..ff306389bf 100644 --- a/Source/cmCommand.h +++ b/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; diff --git a/Source/cmExportCommand.h b/Source/cmExportCommand.h index 99dac7df96..a0224d0c40 100644 --- a/Source/cmExportCommand.h +++ b/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; |