summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-03-23 17:19:39 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-03-23 21:22:34 (GMT)
commit2bfee8a58b01fc94db56dc0ed8bb5da3f33cf2a6 (patch)
tree814235a9ed464e29f0b0ec8e159806a92ef5baf1 /Source
parenta65a404186c69fabc61ea87459e22110c998fb1b (diff)
downloadCMake-2bfee8a58b01fc94db56dc0ed8bb5da3f33cf2a6.zip
CMake-2bfee8a58b01fc94db56dc0ed8bb5da3f33cf2a6.tar.gz
CMake-2bfee8a58b01fc94db56dc0ed8bb5da3f33cf2a6.tar.bz2
cmTarget: Remove obsolete `friend` definitions
Diffstat (limited to 'Source')
-rw-r--r--Source/cmTarget.h8
1 files 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<std::string, cmTarget> cmTargets;