bugfix - add stl-model.h wrappers, to provide more control over STL
[c11tester.git] / snapshot-interface.cc
index 57ac52ee25ba541da665b1440c5ab0e7a7bead35..bd1de3e60645f15e299e545b07d197b5c90d4e43 100644 (file)
@@ -2,12 +2,12 @@
 #include <unistd.h>
 #include <cstring>
 #include <inttypes.h>
-#include <vector>
 
 #include "snapshot-interface.h"
 #include "snapshot.h"
 #include "common.h"
 #include "mymemory.h"
+#include "stl-model.h"
 
 /* MYBINARYNAME only works because our pathname usually includes 'model' (e.g.,
  * /.../model-checker/test/userprog.o) */
@@ -29,7 +29,7 @@ class SnapshotStack {
 
        MEMALLOC
  private:
-       std::vector<struct snapshot_entry, ModelAlloc<struct snapshot_entry> > stack;
+       ModelVector<struct snapshot_entry> stack;
 };
 
 static SnapshotStack *snap_stack;