README: more formatting, correct statement about bench.sh
[model-checker.git] / cmodelint.cc
index 76b4c90fa51b139cb8e70f891d8cc13692a34515..1632581101e0c5801f8ba14c05d3d12e1fa4c94c 100644 (file)
@@ -1,4 +1,5 @@
 #include "model.h"
+#include "action.h"
 #include "cmodelint.h"
 #include "threads-model.h"
 
@@ -38,5 +39,5 @@ void model_rmwc_action(void *obj, memory_order ord) {
 
 /** Issues a fence operation. */
 void model_fence_action(memory_order ord) {
-       model->switch_to_master(new ModelAction(ATOMIC_FENCE, ord, NULL));
+       model->switch_to_master(new ModelAction(ATOMIC_FENCE, ord, FENCE_LOCATION));
 }