Browse Source

cmState: Forward-declare a type earlier.

Stephen Kelly 10 years ago
parent
commit
27ec21dbb2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmState.h

+ 1 - 1
Source/cmState.h

@@ -23,6 +23,7 @@ class cmCommand;
 class cmState
 {
   struct SnapshotDataType;
+  struct BuildsystemDirectoryStateType;
   typedef cmLinkedTree<SnapshotDataType>::iterator PositionType;
   friend class Snapshot;
 public:
@@ -203,7 +204,6 @@ private:
   cmPropertyMap GlobalProperties;
   cmake* CMakeInstance;
 
-  struct BuildsystemDirectoryStateType;
   cmLinkedTree<BuildsystemDirectoryStateType> BuildsystemDirectory;
 
   cmLinkedTree<std::string> ExecutionListFiles;