pingus-devel
[Top][All Lists]
Advanced

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

Re: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs hotspot.cxx,1.1,1.2 hot


From: Ingo Ruhnke
Subject: Re: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs hotspot.cxx,1.1,1.2 hotspot.hxx,1.1,1.2
Date: 26 Sep 2002 18:13:12 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

David Philippi <address@hidden> writes:

> It's still a valid point. I think I may just change the "WorldObjData* data_" 
> to "const WorldObjData* const". It's very unlikely that this will introduce 
> any bugs and it's really the cleaner solution.

I would prefer a const reference then, much easier to read and
understand than const const pointers, has also the advantage of
forbidding NULL inits..

-- 
WWW:      http://pingus.seul.org/~grumbel/ 
Games:    http://pingus.seul.org/~grumbel/gamedesigns/
JabberID: address@hidden 
ICQ:      59461927




reply via email to

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