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

Comparing deliantra/server/common/utils.C (file contents):
Revision 1.27 by root, Wed Dec 20 09:14:21 2006 UTC vs.
Revision 1.28 by root, Sat Dec 23 16:05:19 2006 UTC

553{ 553{
554 refcnt = 0; 554 refcnt = 0;
555 rc_next = rc_first; 555 rc_next = rc_first;
556 rc_first = this; 556 rc_first = this;
557} 557}
558#endif
558 559
559refcounted::~refcounted () 560refcounted::~refcounted ()
560{ 561{
562#if 0
561 assert (!rc_next); 563 assert (!rc_next);
562 assert (!refcnt); 564 assert (!refcnt);
563}
564#endif 565#endif
566}
565 567
566void *salloc_ (int n) throw (std::bad_alloc) 568void *salloc_ (int n) throw (std::bad_alloc)
567{ 569{
568 void *ptr = g_slice_alloc (n); 570 void *ptr = g_slice_alloc (n);
569 571

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines