From b3a7e19ee479fda18b1dfe237fc4b78467c05fd7 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Tue, 29 Jan 2013 17:20:45 +0100 Subject: [PATCH] Make the Property name protected so that subclasses can use it. Makes subclasses more dry in upcoming patches. --- Source/cmTargetPropCommandBase.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/cmTargetPropCommandBase.h b/Source/cmTargetPropCommandBase.h index 15a78c9a6d..0289c44261 100644 --- a/Source/cmTargetPropCommandBase.h +++ b/Source/cmTargetPropCommandBase.h @@ -31,6 +31,9 @@ public: bool HandleArguments(std::vector const& args, const char *prop, ArgumentFlags flags = NO_FLAGS); +protected: + std::string Property; + private: virtual void HandleImportedTarget(const std::string &tgt) = 0; virtual void HandleMissingTarget(const std::string &name) = 0; @@ -51,7 +54,6 @@ private: private: cmTarget *Target; - std::string Property; }; #endif