Przeglądaj źródła

cmOrderDirectories: Re-arrange data layout.

Size goes from 680 to 672 bytes.
Stephen Kelly 10 lat temu
rodzic
commit
b1ff32afc6
1 zmienionych plików z 2 dodań i 3 usunięć
  1. 2 3
      Source/cmOrderDirectories.h

+ 2 - 3
Source/cmOrderDirectories.h

@@ -44,8 +44,6 @@ private:
   cmTarget const* Target;
   std::string Purpose;
 
-  bool Computed;
-
   std::vector<std::string> OrderedDirectories;
 
   std::vector<cmOrderDirectoriesConstraint*> ConstraintEntries;
@@ -68,8 +66,9 @@ private:
   void OrderDirectories();
   void VisitDirectory(unsigned int i);
   void DiagnoseCycle();
-  bool CycleDiagnosed;
   int WalkId;
+  bool CycleDiagnosed;
+  bool Computed;
 
   // Adjacency-list representation of runtime path ordering graph.
   // This maps from directory to those that must come *before* it.