[libcxx] r243530 - Fix a self-move bug in inplace_merge. Thanks to Ted and Dexon for the report and the suggested fix.

Marshall Clow mclow.lists at gmail.com
Thu Jul 30 06:53:33 PDT 2015


On Wed, Jul 29, 2015 at 12:50 PM, Duncan P. N. Exon Smith <
dexonsmith at apple.com> wrote:

>
> > On 2015-Jul-29, at 09:25, Marshall Clow <mclow.lists at gmail.com> wrote:
> >
> > Author: marshall
> > Date: Wed Jul 29 11:25:45 2015
> > New Revision: 243530
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=243530&view=rev
> > Log:
> > Fix a self-move bug in inplace_merge. Thanks to Ted and Dexon for the
> report and the suggested fix.
> >
> > Modified:
> >    libcxx/trunk/include/algorithm
> >
> libcxx/trunk/test/std/algorithms/alg.sorting/alg.merge/inplace_merge.pass.cpp
> >
> libcxx/trunk/test/std/algorithms/alg.sorting/alg.merge/inplace_merge_comp.pass.cpp
> >
>
[snip]


> ==================
> > ---
> libcxx/trunk/test/std/algorithms/alg.sorting/alg.merge/inplace_merge.pass.cpp
> (original)
> > +++
> libcxx/trunk/test/std/algorithms/alg.sorting/alg.merge/inplace_merge.pass.cpp
> Wed Jul 29 11:25:45 2015
> > @@ -20,12 +20,35 @@
> >
> > #include "test_iterators.h"
> >
> > +#ifndef TEST_STD_VER >= 11
>
> Should this be `#if`?
>

Yes; thanks.

-- Marshall
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150730/a9588802/attachment.html>


More information about the cfe-commits mailing list