summaryrefslogtreecommitdiff
path: root/common/action.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/action.h')
-rw-r--r--common/action.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/common/action.h b/common/action.h
index 4024c67..e1b06f2 100644
--- a/common/action.h
+++ b/common/action.h
@@ -1,8 +1,7 @@
#ifndef ACTION_H
#define ACTION_H
-#include <vector>
-#include <boost/serialization/base_object.hpp>
+#include "list.h"
class Action {
public:
@@ -39,18 +38,6 @@ class Action {
};
//! List of actions.
-class Actions : public std::vector<Action> {
- public:
- //! Check if specified action is present in list.
- bool contains(Action action);
-
- //! Check whether list is empty or not.
- operator bool();
-
- template<class Archive>
- void serialize(Archive & ar, const unsigned int version) {
- ar & boost::serialization::base_object<std::vector<Action> >(*this);
- }
-};
+typedef List<Action> Actions;
#endif