pingus-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to continue


From: David Philippi
Subject: Re: How to continue
Date: Tue, 11 Jun 2002 19:04:12 +0200
User-agent: KMail/1.4.1

On Tuesday 11 June 2002 17:36, Ingo Ruhnke wrote:
> Add a "for(...iterator i = ..begin..end) delete *i" in the destructor
> and get rid of all the shared_ptr<WorldObj>, thats basically all. One
> should also take care that we don't remove any objects from the
> world_obj list, since I am not 100% sure that we don't do that.

Ah, you mean that I may remove all occurances of shared_ptr<WorldObj> if I 
put a foreach loop in the destructor of class World deleting all members of 
World::world_obj ?
If you're not already doing this, just drop me a line and I'll do it myself. 

Bye David




reply via email to

[Prev in Thread] Current Thread [Next in Thread]