bugfix - add stl-model.h wrappers, to provide more control over STL
[c11tester.git] / datarace.h
index d1f91b2057e2f98834f633766a71963dfa632187..7c24b6d56c1b400a311b0eaae5ef32e9ad0e8c31 100644 (file)
@@ -5,8 +5,8 @@
 #ifndef DATARACE_H
 #include "config.h"
 #include <stdint.h>
-#include <vector>
 #include "modeltypes.h"
+#include "stl-model.h"
 
 /* Forward declaration */
 class ClockVector;
@@ -47,7 +47,7 @@ void raceCheckRead(thread_id_t thread, const void *location, ClockVector *currCl
 bool checkDataRaces();
 void assert_race(struct DataRace *race);
 
-extern std::vector<struct DataRace *> unrealizedraces;
+extern SnapVector<struct DataRace *> unrealizedraces;
 
 /** Basic encoding idea:
  *      (void *) Either: