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.17 by sf-exg, Sat May 19 13:12:07 2012 UTC vs.
Revision 1.18 by root, Thu May 24 11:03:47 2012 UTC

325 size_t n = last - first; 325 size_t n = last - first;
326 326
327 if (is_simple_enough ()) 327 if (is_simple_enough ())
328 memmove (first, last, sizeof (T) * n); 328 memmove (first, last, sizeof (T) * n);
329 else 329 else
330 copy<iterator> (first, last, n, cop_new); 330 copy<iterator> (first, last, n, cop_set);
331 331
332 sze -= n; 332 sze -= n;
333 destruct (buf + sze, n); 333 destruct (buf + sze, n);
334 } 334 }
335 335

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines