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.55 by root, Sat Dec 1 20:22:12 2018 UTC vs.
Revision 1.56 by root, Wed Dec 5 19:03:26 2018 UTC

104// periodically test refcounts == 0 for a few strings 104// periodically test refcounts == 0 for a few strings
105// this is the ONLY thing that erases stuff from ht. keep it that way. 105// this is the ONLY thing that erases stuff from ht. keep it that way.
106void 106void
107shstr::gc () 107shstr::gc ()
108{ 108{
109 if (expect_true (next_gc > 0)) 109 if (ecb_expect_true (next_gc > 0))
110 return; 110 return;
111 111
112 static const char *curpos; 112 static const char *curpos;
113 113
114 auto i = curpos ? ht.find (curpos) : ht.begin (); 114 auto i = curpos ? ht.find (curpos) : ht.begin ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines