summaryrefslogtreecommitdiff
path: root/src/resources/imageset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/imageset.cpp')
-rw-r--r--src/resources/imageset.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/resources/imageset.cpp b/src/resources/imageset.cpp
index d7398c17..1c0f9373 100644
--- a/src/resources/imageset.cpp
+++ b/src/resources/imageset.cpp
@@ -19,8 +19,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <algorithm>
-
#include "imageset.h"
#include "../log.h"
@@ -44,7 +42,7 @@ ImageSet::ImageSet(Image *img, int width, int height)
ImageSet::~ImageSet()
{
- for_each(mImages.begin(), mImages.end(), make_dtor(mImages));
+ delete_all(mImages);
}
Image*