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.21 by root, Thu Dec 21 06:12:36 2006 UTC vs.
Revision 1.22 by root, Sat Dec 23 06:21:02 2006 UTC

166 T *operator ->() const { return p; } 166 T *operator ->() const { return p; }
167 167
168 operator T *() const { return p; } 168 operator T *() const { return p; }
169}; 169};
170 170
171typedef refptr<player> player_ptr;
172typedef refptr<object> object_ptr;
173typedef refptr<archetype> arch_ptr;
174
171struct str_hash 175struct str_hash
172{ 176{
173 std::size_t operator ()(const char *s) const 177 std::size_t operator ()(const char *s) const
174 { 178 {
175 unsigned long hash = 0; 179 unsigned long hash = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines