Skip to content

Commit

Permalink
model/action: move action_list_t to model.h
Browse files Browse the repository at this point in the history
action_list_t is only used by the ModelChecker class
  • Loading branch information
Brian Norris committed Feb 20, 2013
1 parent 1ef66ff commit c399a44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions action.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,4 @@ class ModelAction {
bool sleep_flag;
};

typedef std::list< ModelAction *, SnapshotAlloc<ModelAction *> > action_list_t;

#endif /* __ACTION_H__ */
2 changes: 2 additions & 0 deletions model.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

typedef std::list< ModelAction *, SnapshotAlloc<ModelAction *> > action_list_t;

/**
* Model checker parameter structure. Holds run-time configuration options for
* the model checker.
Expand Down

0 comments on commit c399a44

Please sign in to comment.