model: get_num_threads() should be const
[model-checker.git] / model.h
diff --git a/model.h b/model.h
index 59a07597bb5bf0436752ad6a4fca2f22d9fa2fe8..86f9d0b581d5f96f65c5114cfd99812245a76ad9 100644 (file)
--- a/model.h
+++ b/model.h
@@ -89,7 +89,7 @@ public:
        Thread * get_thread(ModelAction *act) const;
 
        thread_id_t get_next_id();
-       unsigned int get_num_threads();
+       unsigned int get_num_threads() const;
        Thread * get_current_thread();
 
        int switch_to_master(ModelAction *act);