From 88a84e3bc371d1b1b3533143658ad192476c59ab Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 28 Apr 2009 18:38:07 +0200 Subject: forgot to remove dtor... --- ue2/imgsynth2/cwindowsbitmap.cpp | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'ue2/imgsynth2/cwindowsbitmap.cpp') diff --git a/ue2/imgsynth2/cwindowsbitmap.cpp b/ue2/imgsynth2/cwindowsbitmap.cpp index 6909136..ebbdd4c 100644 --- a/ue2/imgsynth2/cwindowsbitmap.cpp +++ b/ue2/imgsynth2/cwindowsbitmap.cpp @@ -27,22 +27,6 @@ CWindowsBitmap::CWindowsBitmap() /*----------------------------------------------------------------------------*/ -CWindowsBitmap::~CWindowsBitmap() -{ - /* delete pixeldata */ - if (m_pixeldata != NULL) - delete[] m_pixeldata; - m_pixeldata = NULL; - - /* delete pixelformat handlers */ - set::iterator it; - for (it = m_handlers.begin(); it != m_handlers.end(); it++) - delete *it; - m_pixelformat = NULL; -} - -/*----------------------------------------------------------------------------*/ - void CWindowsBitmap::read(std::ifstream& in) { /* read and check file header */ -- cgit v1.2.3