bugfix: straighten out STL vector allocation (snapshotted vs. persistent)
[c11tester.git] / cyclegraph.h
index 013a11a793bd9f20971a881af2c104a59e3085ec..81d736962dcb6893c8ef213b9571454c24ac5ea6 100644 (file)
@@ -9,6 +9,8 @@
 #include <vector>
 #include <inttypes.h>
 
+#include "mymemory.h"
+
 class CycleNode;
 class ModelAction;
 
@@ -27,6 +29,7 @@ class CycleGraph {
        void commitChanges();
        void rollbackChanges();
 
+       SNAPSHOTALLOC
  private:
        CycleNode * getNode(const ModelAction *);
 
@@ -61,6 +64,7 @@ class CycleNode {
                hasRMW=NULL;
        }
 
+       SNAPSHOTALLOC
  private:
        /** @brief The ModelAction that this node represents */
        const ModelAction *action;