model: remove useless return code from add_thread()
[c11tester.git] / model.h
diff --git a/model.h b/model.h
index 86e0b1e7b05a8174a05d8a3f28dc7132432962d5..723ca43fe3a4f76a667d3ca921f07ea76fdf6f5b 100644 (file)
--- a/model.h
+++ b/model.h
@@ -52,7 +52,7 @@ public:
 
        Thread * schedule_next_thread();
 
-       int add_thread(Thread *t);
+       void add_thread(Thread *t);
        void remove_thread(Thread *t);
        Thread * get_thread(thread_id_t tid) { return thread_map->get(id_to_int(tid)); }