diff options
Diffstat (limited to 'common/action.cpp')
-rw-r--r-- | common/action.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/common/action.cpp b/common/action.cpp index 58b7392..77988d6 100644 --- a/common/action.cpp +++ b/common/action.cpp @@ -12,11 +12,3 @@ Action::Action(Type ty, int ta) : type(ty), target(ta) { bool Action::operator==(const Action& other) { return type == other.type && target == other.target; } - -Actions::operator bool() { - return !empty(); -} - -bool Actions::contains(Action action) { - return std::find(begin(), end(), action) != end(); -} |