--- deliantra/server/common/shstr.C 2006/09/13 23:39:27 1.19 +++ deliantra/server/common/shstr.C 2006/09/14 18:13:01 1.20 @@ -46,7 +46,7 @@ if (!s) return s; - HT::iterator i = ht.find (s); + AUTODECL (i, ht.find (s)); return i != ht.end ()? *i : 0; } @@ -75,7 +75,7 @@ { static const char *curpos; - HT::iterator i = curpos ? ht.find (curpos) : ht.begin (); + AUTODECL (i, curpos ? ht.find (curpos) : ht.begin ()); if (i == ht.end ()) i = ht.begin (); @@ -94,7 +94,7 @@ break; else if (!refcnt (*i)) { - HT::iterator o = i++; + AUTODECL (o, i++); const char *s = *o; ht.erase (o);