From: Brian Norris Date: Wed, 20 Feb 2013 07:30:31 +0000 (-0800) Subject: model/action: move action_list_t to model.h X-Git-Url: http://plrg.eecs.uci.edu/git/?p=c11tester.git;a=commitdiff_plain;h=c399a44cb63c43c83c11fe6cfab02889896ecff1 model/action: move action_list_t to model.h action_list_t is only used by the ModelChecker class --- diff --git a/action.h b/action.h index c39af5ec..63c03752 100644 --- a/action.h +++ b/action.h @@ -193,6 +193,4 @@ private: bool sleep_flag; }; -typedef std::list< ModelAction *, SnapshotAlloc > action_list_t; - #endif /* __ACTION_H__ */ diff --git a/model.h b/model.h index cc4fe284..08bde0f8 100644 --- a/model.h +++ b/model.h @@ -27,6 +27,8 @@ struct model_snapshot_members; /** @brief Shorthand for a list of release sequence heads */ typedef std::vector< const ModelAction *, ModelAlloc > rel_heads_list_t; +typedef std::list< ModelAction *, SnapshotAlloc > action_list_t; + /** * Model checker parameter structure. Holds run-time configuration options for * the model checker.