model: refactor check_current_action, next thread computation
[model-checker.git] / model.h
diff --git a/model.h b/model.h
index 5f62ff835df1d1e9df13dde2e8cd204d2bafd9d2..c97cbf1a05f905fb79087c21b91401548b5ecf2e 100644 (file)
--- a/model.h
+++ b/model.h
@@ -148,7 +148,7 @@ private:
 
        bool next_execution();
        void set_current_action(ModelAction *act);
-       Thread * check_current_action(ModelAction *curr);
+       ModelAction * check_current_action(ModelAction *curr);
        bool initialize_curr_action(ModelAction **curr);
        bool process_read(ModelAction *curr, bool second_part_of_rmw);
        bool process_write(ModelAction *curr);