model: embed the trace_analyses in the class
[c11tester.git] / model.h
diff --git a/model.h b/model.h
index cfc6528..7d84f60 100644 (file)
--- a/model.h
+++ b/model.h
@@ -69,7 +69,7 @@ public:
 
        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);
@@ -96,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;