memoize hb in writes
[c11tester.git] / fuzzer.cc
index 3a3f98831b1c64245a5ab85569667e604878b361..9ad61c3c5cddbc96073e85c15e8dd05f46bffadb 100644 (file)
--- a/fuzzer.cc
+++ b/fuzzer.cc
@@ -3,7 +3,7 @@
 #include "threads-model.h"
 #include "model.h"
 
-int Fuzzer::selectWrite(ModelAction *read, SnapVector<const ModelAction *> * rf_set) {
+int Fuzzer::selectWrite(ModelAction *read, SnapVector<ModelAction *> * rf_set) {
        int random_index = random() % rf_set->size();
        return random_index;
 }