summaryrefslogtreecommitdiffstats
path: root/Source/cmState.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-10-18 19:28:45 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-10-18 19:28:45 (GMT)
commitcb40af5d6fa65dae9421280c05934eafc8a66165 (patch)
treed59e49d237a5c1f57ee87d8ec24ebb4c58951da4 /Source/cmState.h
parent1205f75e3bd9e5ff7051459cac4594ea7c3a9bf9 (diff)
downloadCMake-cb40af5d6fa65dae9421280c05934eafc8a66165.zip
CMake-cb40af5d6fa65dae9421280c05934eafc8a66165.tar.gz
CMake-cb40af5d6fa65dae9421280c05934eafc8a66165.tar.bz2
cmState: Move SnapshotDataType to separate namespace
Diffstat (limited to 'Source/cmState.h')
-rw-r--r--Source/cmState.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmState.h b/Source/cmState.h
index 24db08c..d733469 100644
--- a/Source/cmState.h
+++ b/Source/cmState.h
@@ -25,15 +25,16 @@ class cmPropertyDefinition;
namespace cmStateDetail {
struct BuildsystemDirectoryStateType;
+struct SnapshotDataType;
}
class cmState
{
- struct SnapshotDataType;
struct PolicyStackEntry;
- typedef cmLinkedTree<SnapshotDataType>::iterator PositionType;
+ typedef cmLinkedTree<cmStateDetail::SnapshotDataType>::iterator PositionType;
friend class Snapshot;
friend struct cmStateDetail::BuildsystemDirectoryStateType;
+ friend struct cmStateDetail::SnapshotDataType;
public:
cmState();
@@ -341,7 +342,7 @@ private:
cmLinkedTree<std::string> ExecutionListFiles;
cmLinkedTree<PolicyStackEntry> PolicyStack;
- cmLinkedTree<SnapshotDataType> SnapshotData;
+ cmLinkedTree<cmStateDetail::SnapshotDataType> SnapshotData;
cmLinkedTree<cmDefinitions> VarTree;
std::string SourceDirectory;