X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=nodestack.h;h=8df67838c87c362518bdd3100bddcd4663254475;hb=85683f798e0955c43cf6cd8099713c45d9ce882b;hp=7402aa57d107aac938faab66ea13782ffaff3609;hpb=7ba211ec7d1cacbaa3ef2027f1a0f534888f1708;p=model-checker.git diff --git a/nodestack.h b/nodestack.h index 7402aa5..8df6783 100644 --- a/nodestack.h +++ b/nodestack.h @@ -98,24 +98,24 @@ private: ModelAction *action; Node *parent; int num_threads; - std::vector< bool, MyAlloc > explored_children; - std::vector< bool, MyAlloc > backtrack; - std::vector< struct fairness_info, MyAlloc< struct fairness_info> > fairness; + std::vector< bool, ModelAlloc > explored_children; + std::vector< bool, ModelAlloc > backtrack; + std::vector< struct fairness_info, ModelAlloc< struct fairness_info> > fairness; int numBacktracks; bool *enabled_array; /** The set of ModelActions that this the action at this Node may read * from. Only meaningful if this Node represents a 'read' action. */ - std::vector< const ModelAction *, MyAlloc< const ModelAction * > > may_read_from; + std::vector< const ModelAction *, ModelAlloc< const ModelAction * > > may_read_from; unsigned int read_from_index; - std::vector< struct future_value, MyAlloc > future_values; - std::vector< promise_t, MyAlloc > promises; + std::vector< struct future_value, ModelAlloc > future_values; + std::vector< promise_t, ModelAlloc > promises; int future_index; }; -typedef std::vector< Node *, MyAlloc< Node * > > node_list_t; +typedef std::vector< Node *, ModelAlloc< Node * > > node_list_t; /** * @brief A stack of nodes