ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/shstr.C
(Generate patch)

Comparing deliantra/server/common/shstr.C (file contents):
Revision 1.13 by root, Sun Sep 10 16:00:23 2006 UTC vs.
Revision 1.14 by root, Mon Sep 11 23:33:28 2006 UTC

76// periodically test refcounts == 0 for a few strings 76// periodically test refcounts == 0 for a few strings
77// this is the ONLY thing that erases stuff from ht. keep it that way. 77// this is the ONLY thing that erases stuff from ht. keep it that way.
78void 78void
79shstr::gc () 79shstr::gc ()
80{ 80{
81return; //D
82//D currently disabled: some datastructures might still store them
83//D but their pointers will become invalidated
81 static const char *curpos; 84 static const char *curpos;
82 85
83 HT::iterator i = curpos ? ht.find (curpos) : ht.begin (); 86 HT::iterator i = curpos ? ht.find (curpos) : ht.begin ();
84 87
85 if (i == ht.end ()) 88 if (i == ht.end ())

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines