Ticket #2661: operator-order-in-capacity.diff
File operator-order-in-capacity.diff, 417 bytes (added by , 18 years ago) |
---|
-
common/str.cpp
40 40 // grows a bit). 41 41 // Finally, we subtract 1 to compensate for the trailing zero byte. 42 42 len += 16; 43 return ( len + 32 - 1) & ~0x1F- 1;43 return ((len + 32 - 1) & ~0x1F) - 1; 44 44 } 45 45 46 46 String::String(const char *str, int len, int capacity)