summaryrefslogtreecommitdiff
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-03-23 18:19:39 +0100
committerSebastian Holtermann <sebholt@xwmw.org>2019-03-23 22:22:34 +0100
commit2bfee8a58b01fc94db56dc0ed8bb5da3f33cf2a6 (patch)
tree814235a9ed464e29f0b0ec8e159806a92ef5baf1 /Source/cmTarget.h
parenta65a404186c69fabc61ea87459e22110c998fb1b (diff)
downloadcmake-2bfee8a58b01fc94db56dc0ed8bb5da3f33cf2a6.tar.gz
cmTarget: Remove obsolete `friend` definitions
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 93d83031ab..0ed64505d7 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<std::string, cmTarget> cmTargets;