model: embed the trace_analyses in the class
[model-checker.git] / model.h
diff --git a/model.h b/model.h
index be53ec3fb4ea57858fd55fae54f3b65672b33607..7d84f60112c5ef26b8c54cf9e139f016fc05df7b 100644 (file)
--- a/model.h
+++ b/model.h
@@ -63,14 +63,13 @@ public:
 
        void switch_from_master(Thread *thread);
        uint64_t switch_to_master(ModelAction *act);
-       void check_promises_thread_disabled();
 
        bool assert_bug(const char *msg, ...);
        void assert_user_bug(const char *msg);
 
        const model_params params;
        void add_trace_analysis(TraceAnalysis *a) {
-               trace_analyses->push_back(a);
+               trace_analyses.push_back(a);
        }
 
        action_list_t * get_actions_on_obj(void * obj, thread_id_t tid);
@@ -97,7 +96,7 @@ private:
 
        ucontext_t system_context;
 
-       ModelVector<TraceAnalysis *> trace_analyses;
+       ModelVector<TraceAnalysis *> trace_analyses;
 
        /** @brief The cumulative execution stats */
        struct execution_stats stats;