ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/cfperl.h
(Generate patch)

Comparing deliantra/server/include/cfperl.h (file contents):
Revision 1.75 by root, Sun Jun 3 11:22:02 2007 UTC vs.
Revision 1.76 by root, Mon Jun 4 12:19:08 2007 UTC

348 } 348 }
349 349
350 template<typename T> 350 template<typename T>
351 void put (keyword k, const T *v) 351 void put (keyword k, const T *v)
352 { 352 {
353 if (v)
354 put (k, v->name);
355 else
356 put (k, (const char *)0); 353 put (k, v ? &v->name : (const char *)0);
357 } 354 }
358 355
359 template<typename T> 356 template<typename T>
360 void put (keyword k, const refptr<T> &v) 357 void put (keyword k, const refptr<T> &v)
361 { 358 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines