X-Git-Url: http://plrg.eecs.uci.edu/git/?p=model-checker.git;a=blobdiff_plain;f=promise.h;fp=promise.h;h=852fe714f896dfbffc0b409fcd499058841a1ee0;hp=178b86e7d4b3cedba32f2240f2493e63655efb4d;hb=5bd87a4163897f385459b8744f3d6e322b9f5d3e;hpb=5236e7a4403ccc6d28b3fdc746c5710d6190310a diff --git a/promise.h b/promise.h index 178b86e..852fe71 100644 --- a/promise.h +++ b/promise.h @@ -41,8 +41,8 @@ class Promise { void set_write(const ModelAction *act) { write = act; } const ModelAction * get_write() const { return write; } int get_num_available_threads() const { return num_available_threads; } - bool is_compatible(const ModelAction *write) const; - bool is_compatible_exclusive(const ModelAction *write) const; + bool is_compatible(const ModelAction *act) const; + bool is_compatible_exclusive(const ModelAction *act) const; void print() const;