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

Comparing deliantra/server/include/util.h (file contents):
Revision 1.55 by root, Thu Aug 16 06:36:56 2007 UTC vs.
Revision 1.56 by root, Sun Sep 9 06:25:46 2007 UTC

345 MTH void refcnt_dec () const { --refcnt; } 345 MTH void refcnt_dec () const { --refcnt; }
346 346
347 refcnt_base () : refcnt (0) { } 347 refcnt_base () : refcnt (0) { }
348}; 348};
349 349
350// to avoid branches with more advanced compilers
350extern refcnt_base::refcnt_t refcnt_dummy; 351extern refcnt_base::refcnt_t refcnt_dummy;
351 352
352template<class T> 353template<class T>
353struct refptr 354struct refptr
354{ 355{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines