ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libptytty/src/estl.h
(Generate patch)

Comparing libptytty/src/estl.h (file contents):
Revision 1.5 by sf-exg, Sat Jan 21 15:06:56 2012 UTC vs.
Revision 1.6 by sf-exg, Fri Apr 13 11:32:26 2012 UTC

199 long at = pos - begin (); 199 long at = pos - begin ();
200 200
201 if (n > 0) 201 if (n > 0)
202 { 202 {
203 reserve (pos, n); 203 reserve (pos, n);
204 pos = begin ()+at; 204 pos = begin () + at;
205 memcpy (pos, first, (last - first) * sizeof (T)); 205 memcpy (pos, first, (last - first) * sizeof (T));
206 _last += n; 206 _last += n;
207 } 207 }
208 208
209 return pos; 209 return pos;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines