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.46 by root, Tue Nov 27 18:47:35 2018 UTC vs.
Revision 1.47 by root, Wed Dec 5 22:09:21 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
171 shstr (const shstr_tmp &sh) 177 shstr (const shstr_tmp &sh)
172 : shstr_tmp (sh) 178 : shstr_tmp (sh)
173 { 179 {
174 ++refcnt (); 180 ++refcnt ();
175 } 181 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines