U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Image into a polimorphic array
Re: Image into a polimorphic array [message #13317 is a reply to message #13279] Tue, 01 January 2008 10:56 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
andrei-catalin wrote on Fri, 28 December 2007 08:52

I've tried to store multiple shapes into an polimorphic array but for Image I've received "Heap leaks" error.

Andrei


Missing virtual destructor:

struct Shape
{
	virtual void Description() {}
	virtual ~Shape() {}
};


Mirek
 
Read Message
Read Message
Read Message
Previous Topic: Bug in DrawText and Font issue
Next Topic: Slow image drawing on big images
Goto Forum:
  


Current Time: Thu May 07 03:38:09 GMT+2 2026

Total time taken to generate the page: 0.01540 seconds