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.18 by root, Sat Dec 16 21:40:26 2006 UTC vs.
Revision 1.19 by root, Sun Dec 17 19:07:23 2006 UTC

97 return salloc<Tp> (n); 97 return salloc<Tp> (n);
98 } 98 }
99 99
100 void deallocate (pointer p, size_type n) 100 void deallocate (pointer p, size_type n)
101 { 101 {
102 sfree (p, n); 102 sfree<Tp> (p, n);
103 } 103 }
104 104
105 size_type max_size ()const throw () 105 size_type max_size ()const throw ()
106 { 106 {
107 return size_t (-1) / sizeof (Tp); 107 return size_t (-1) / sizeof (Tp);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines