model/action: move action_list_t to model.h
authorBrian Norris <banorris@uci.edu>
Wed, 20 Feb 2013 07:30:31 +0000 (23:30 -0800)
committerBrian Norris <banorris@uci.edu>
Wed, 20 Feb 2013 07:30:31 +0000 (23:30 -0800)
action_list_t is only used by the ModelChecker class

action.h
model.h

index c39af5ecdb177aff649eb79ba39eb3eff1b3253c..63c0375211c513ef704c4ee4c3fbb8abe832fdb5 100644 (file)
--- a/action.h
+++ b/action.h
@@ -193,6 +193,4 @@ private:
        bool sleep_flag;
 };
 
        bool sleep_flag;
 };
 
-typedef std::list< ModelAction *, SnapshotAlloc<ModelAction *> > action_list_t;
-
 #endif /* __ACTION_H__ */
 #endif /* __ACTION_H__ */
diff --git a/model.h b/model.h
index cc4fe284abed1c197682986f9faa4b375f8b6a88..08bde0f8256d9005cc210a18f8ea4aefcf37c263 100644 (file)
--- 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<const ModelAction *> > rel_heads_list_t;
 
 /** @brief Shorthand for a list of release sequence heads */
 typedef std::vector< const ModelAction *, ModelAlloc<const ModelAction *> > rel_heads_list_t;
 
+typedef std::list< ModelAction *, SnapshotAlloc<ModelAction *> > action_list_t;
+
 /**
  * Model checker parameter structure. Holds run-time configuration options for
  * the model checker.
 /**
  * Model checker parameter structure. Holds run-time configuration options for
  * the model checker.