… | … | ||
---|---|---|---|
101 | _buf = nbuf; | 101 | _buf = nbuf; |
102 | _size = sz; | 102 | _size = sz; |
103 | } | 103 | } |
104 | } | 104 | } |
105 | 105 | ||
106 | void resize (size_type sz) | ||
107 | { | ||
108 | reserve (sz); | ||
109 | _last = sz; | ||
110 | } | ||
111 | |||
106 | simplevec () | 112 | simplevec () |
107 | : _last(0), _size(0), _buf(0) | 113 | : _last(0), _size(0), _buf(0) |
108 | { | 114 | { |
109 | } | 115 | } |
110 | 116 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |