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

Comparing deliantra/server/include/shstr.h (file contents):
Revision 1.45 by root, Sat Nov 17 23:40:01 2018 UTC vs.
Revision 1.46 by root, Tue Nov 27 18:47:35 2018 UTC

166 static const char *find (const char *s); 166 static const char *find (const char *s);
167 static const char *intern (const char *s); 167 static const char *intern (const char *s);
168 168
169 static void gc (); // garbage collect a few strings 169 static void gc (); // garbage collect a few strings
170 170
171 shstr (const shstr &sh)
172 : shstr_tmp (sh)
173 {
174 ++refcnt ();
175 }
176
177 shstr (const shstr_tmp &sh) 171 shstr (const shstr_tmp &sh)
178 : shstr_tmp (sh) 172 : shstr_tmp (sh)
179 { 173 {
180 ++refcnt (); 174 ++refcnt ();
181 } 175 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines