From 5396bc92d0162fa9a9462e15ccaae8764da8ff98 Mon Sep 17 00:00:00 2001 From: Daniel Pfeifer Date: Sun, 25 Dec 2016 23:27:48 +0100 Subject: 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. --- Source/cmCommand.h | 2 -- Source/cmExportCommand.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/cmCommand.h b/Source/cmCommand.h index d9fd5a2..ff30638 100644 --- a/Source/cmCommand.h +++ b/Source/cmCommand.h @@ -7,7 +7,6 @@ #include #include -#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 99dac7d..a0224d0 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; -- cgit v0.12