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.26 by root, Tue Oct 16 05:34:24 2007 UTC vs.
Revision 1.27 by root, Mon Oct 22 05:46:44 2007 UTC

100 auto (i, curpos ? ht.find (curpos) : ht.begin ()); 100 auto (i, curpos ? ht.find (curpos) : ht.begin ());
101 101
102 if (i == ht.end ()) 102 if (i == ht.end ())
103 i = ht.begin (); 103 i = ht.begin ();
104 104
105 // go through all strings roughly once every 4 minutes
106 int n = ht.size () / 256 + 16; 105 int n = ht.size () / 256 + 16;
107 106
108 for (;;) 107 for (;;)
109 { 108 {
110 if (i == ht.end ()) 109 if (i == ht.end ())

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines