model: add const to get_thread(ModelAction *act)
[model-checker.git] / model.h
diff --git a/model.h b/model.h
index 5a127b1dd979a59c6d9cfe1e830ce0db7c58f860..960e9e1a9846a8eefd92a7f0ef394eb975adcbca 100644 (file)
--- a/model.h
+++ b/model.h
@@ -108,7 +108,7 @@ public:
        void add_thread(Thread *t);
        void remove_thread(Thread *t);
        Thread * get_thread(thread_id_t tid) const;
-       Thread * get_thread(ModelAction *act) const;
+       Thread * get_thread(const ModelAction *act) const;
 
        bool is_enabled(Thread *t) const;
        bool is_enabled(thread_id_t tid) const;