ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/simplevec.h
(Generate patch)

Comparing rxvt-unicode/src/simplevec.h (file contents):
Revision 1.1 by pcg, Mon Nov 24 17:28:08 2003 UTC vs.
Revision 1.2 by pcg, Tue Nov 25 11:52:42 2003 UTC

172 { 172 {
173 reserve (_last+1); 173 reserve (_last+1);
174 *end() = t; 174 *end() = t;
175 ++_last; 175 ++_last;
176 } 176 }
177 void push_back (T &t)
178 {
179 reserve (_last+1);
180 *end() = t;
181 ++_last;
182 }
177 void pop_back () 183 void pop_back ()
178 { 184 {
179 //ministl_assert (size() > 0); 185 //ministl_assert (size() > 0);
180 --_last; 186 --_last;
181 } 187 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines