model: pass current action as function argument
[model-checker.git] / model.h
diff --git a/model.h b/model.h
index 9b63f0fcdbce350fa04c272d2091c676af3dd42b..76b2affb02db0a59d93c5efc8bde0973241af74d 100644 (file)
--- a/model.h
+++ b/model.h
@@ -159,7 +159,7 @@ private:
        bool read_from(ModelAction *act, const ModelAction *rf);
        bool check_action_enabled(ModelAction *curr);
 
-       bool take_step();
+       bool take_step(ModelAction *curr);
 
        void check_recency(ModelAction *curr, const ModelAction *rf);
        ModelAction * get_last_conflict(ModelAction *act);