diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-05-23 10:52:36 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2019-05-23 11:00:33 (GMT) |
commit | 7b4b61a4d38e4c7fe3fe992a6263d8d1f0785858 (patch) | |
tree | f43eaa67777164ce5ba0dda2f381e35260d06b50 /Source/cmTarget.h | |
parent | 22d58e07e5dc54e113ae7414dea604549b0cfc43 (diff) | |
download | CMake-7b4b61a4d38e4c7fe3fe992a6263d8d1f0785858.zip CMake-7b4b61a4d38e4c7fe3fe992a6263d8d1f0785858.tar.gz CMake-7b4b61a4d38e4c7fe3fe992a6263d8d1f0785858.tar.bz2 |
cmMakefile: Define cmTargetMap type in cmMakefile instead of cmTarget
The `cmTargetMap` type is only used in the context of `cmMakefile`.
Therefore it is the most appropriate place to declare it.
This moves the `cmTarget.h/cmTargets` type definition to
`cmMakefile::cmTargetMap`.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 0ac5ca7..fdcca47 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -9,7 +9,6 @@ #include <memory> // IWYU pragma: keep #include <set> #include <string> -#include <unordered_map> #include <utility> #include <vector> @@ -260,6 +259,4 @@ private: std::unique_ptr<cmTargetInternals> impl; }; -typedef std::unordered_map<std::string, cmTarget> cmTargets; - #endif |