projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
impatomic: silence more clang warnings
[model-checker.git]
/
cmodelint.cc
diff --git
a/cmodelint.cc
b/cmodelint.cc
index 76b4c90fa51b139cb8e70f891d8cc13692a34515..1632581101e0c5801f8ba14c05d3d12e1fa4c94c 100644
(file)
--- a/
cmodelint.cc
+++ b/
cmodelint.cc
@@
-1,4
+1,5
@@
#include "model.h"
#include "model.h"
+#include "action.h"
#include "cmodelint.h"
#include "threads-model.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) {
/** 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
));
}
}