Parent Directory | Revision Log | Patch
revision 1.4 by Vegai, Thu Aug 22 11:09:16 2002 UTC | revision 1.5 by tjl, Tue Sep 3 21:15:32 2002 UTC | |
---|---|---|
# | Line 51 namespace Util { | Line 51 namespace Util { |
51 | /** Mark the object with the given id for removal. | /** Mark the object with the given id for removal. |
52 | */ | */ |
53 | void remove(int p) { | void remove(int p) { |
54 | if(p == 0) return; | |
55 | toBeDeleted.push_back(vec[p]); | toBeDeleted.push_back(vec[p]); |
56 | vec[p] = 0; | vec[p] = 0; |
57 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |