Commit cb40af5d authored by Stephen Kelly's avatar Stephen Kelly
Browse files

cmState: Move SnapshotDataType to separate namespace

parent 1205f75e
...@@ -25,7 +25,7 @@ static std::string const kBUILDSYSTEM_TARGETS = "BUILDSYSTEM_TARGETS"; ...@@ -25,7 +25,7 @@ static std::string const kBUILDSYSTEM_TARGETS = "BUILDSYSTEM_TARGETS";
static std::string const kSOURCE_DIR = "SOURCE_DIR"; static std::string const kSOURCE_DIR = "SOURCE_DIR";
static std::string const kSUBDIRECTORIES = "SUBDIRECTORIES"; static std::string const kSUBDIRECTORIES = "SUBDIRECTORIES";
struct cmState::SnapshotDataType struct cmStateDetail::SnapshotDataType
{ {
cmState::PositionType ScopeParent; cmState::PositionType ScopeParent;
cmState::PositionType DirectoryParent; cmState::PositionType DirectoryParent;
......
...@@ -25,15 +25,16 @@ class cmPropertyDefinition; ...@@ -25,15 +25,16 @@ class cmPropertyDefinition;
namespace cmStateDetail { namespace cmStateDetail {
struct BuildsystemDirectoryStateType; struct BuildsystemDirectoryStateType;
struct SnapshotDataType;
} }
class cmState class cmState
{ {
struct SnapshotDataType;
struct PolicyStackEntry; struct PolicyStackEntry;
typedef cmLinkedTree<SnapshotDataType>::iterator PositionType; typedef cmLinkedTree<cmStateDetail::SnapshotDataType>::iterator PositionType;
friend class Snapshot; friend class Snapshot;
friend struct cmStateDetail::BuildsystemDirectoryStateType; friend struct cmStateDetail::BuildsystemDirectoryStateType;
friend struct cmStateDetail::SnapshotDataType;
public: public:
cmState(); cmState();
...@@ -341,7 +342,7 @@ private: ...@@ -341,7 +342,7 @@ private:
cmLinkedTree<std::string> ExecutionListFiles; cmLinkedTree<std::string> ExecutionListFiles;
cmLinkedTree<PolicyStackEntry> PolicyStack; cmLinkedTree<PolicyStackEntry> PolicyStack;
cmLinkedTree<SnapshotDataType> SnapshotData; cmLinkedTree<cmStateDetail::SnapshotDataType> SnapshotData;
cmLinkedTree<cmDefinitions> VarTree; cmLinkedTree<cmDefinitions> VarTree;
std::string SourceDirectory; std::string SourceDirectory;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment