summaryrefslogtreecommitdiff
path: root/src/resources/action.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/action.cpp')
-rw-r--r--src/resources/action.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/resources/action.cpp b/src/resources/action.cpp
index ffbbffb2..f40d3109 100644
--- a/src/resources/action.cpp
+++ b/src/resources/action.cpp
@@ -20,22 +20,17 @@
*/
#include "action.h"
-
-#include <algorithm>
-
#include "animation.h"
#include "../utils/dtor.h"
-
Action::Action()
{
}
Action::~Action()
{
- std::for_each(mAnimations.begin(), mAnimations.end(),
- make_dtor(mAnimations));
+ delete_all(mAnimations);
}
Animation*