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.43 by root, Wed Nov 16 23:42:01 2016 UTC vs.
Revision 1.44 by root, Sat Nov 17 23:33:18 2018 UTC

178 { 178 {
179 ++refcnt (); 179 ++refcnt ();
180 } 180 }
181 181
182 explicit shstr (const char *str) 182 explicit shstr (const char *str)
183 : shstr_tmp (0, is_constant (str) && !str ? null () : intern (str)) 183 : shstr_tmp (0, ecb_is_constant (str) && !str ? null () : intern (str))
184 { 184 {
185 } 185 }
186 186
187 ~shstr () 187 ~shstr ()
188 { 188 {
210 210
211 // shstr_tmp doesn't have this one 211 // shstr_tmp doesn't have this one
212 shstr &operator =(const char *str) 212 shstr &operator =(const char *str)
213 { 213 {
214 --refcnt (); 214 --refcnt ();
215 s = is_constant (str) && !str ? null () : intern (str); 215 s = ecb_is_constant (str) && !str ? null () : intern (str);
216 216
217 return *this; 217 return *this;
218 } 218 }
219}; 219};
220 220

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines