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

Comparing deliantra/server/common/arch.C (file contents):
Revision 1.118 by root, Tue Nov 27 18:50:22 2018 UTC vs.
Revision 1.119 by root, Sat Dec 1 20:22:12 2018 UTC

347archetype::find (const char *name) 347archetype::find (const char *name)
348{ 348{
349 if (!name) 349 if (!name)
350 return 0; 350 return 0;
351 351
352 auto (i, ht.find (name)); 352 auto i = ht.find (name);
353 353
354 if (i == ht.end ()) 354 if (i == ht.end ())
355 return 0; 355 return 0;
356 else 356 else
357 return i->second; 357 return i->second;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines