model: return next thread from take_step()
[model-checker.git] / model.h
diff --git a/model.h b/model.h
index 99a93cdc9fd3e33dad9cbc5a4ef21954354c1191..cd9c3989bde935ce2ec8c67da5ddd4490a3b3e34 100644 (file)
--- a/model.h
+++ b/model.h
@@ -160,7 +160,7 @@ private:
        bool read_from(ModelAction *act, const ModelAction *rf);
        bool check_action_enabled(ModelAction *curr);
 
-       bool take_step(ModelAction *curr);
+       Thread * take_step(ModelAction *curr);
 
        void check_recency(ModelAction *curr, const ModelAction *rf);
        ModelAction * get_last_conflict(ModelAction *act);