From 2bfee8a58b01fc94db56dc0ed8bb5da3f33cf2a6 Mon Sep 17 00:00:00 2001 From: Sebastian Holtermann Date: Sat, 23 Mar 2019 18:19:39 +0100 Subject: cmTarget: Remove obsolete `friend` definitions --- Source/cmTarget.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 93d8303..0ed6450 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -256,6 +256,9 @@ public: cmStateEnums::ArtifactType artifact) const; private: + // Internal representation details. + friend class cmGeneratorTarget; + const char* GetSuffixVariableInternal( cmStateEnums::ArtifactType artifact) const; const char* GetPrefixVariableInternal( @@ -268,11 +271,6 @@ private: private: cmTargetInternalPointer impl; - - // Internal representation details. - friend class cmTargetInternals; - friend class cmGeneratorTarget; - friend class cmTargetTraceDependencies; }; typedef std::unordered_map cmTargets; -- cgit v0.12