Fix a self-move bug in inplace_merge. Thanks to Ted and Dexon for the report and...
authorMarshall Clow <mclow.lists@gmail.com>
Wed, 29 Jul 2015 16:25:45 +0000 (16:25 +0000)
committerMarshall Clow <mclow.lists@gmail.com>
Wed, 29 Jul 2015 16:25:45 +0000 (16:25 +0000)
commitadfdae18c850affec9f3cdbbe7d4555b7f1d552e
tree1da1caab5d59b1f939c10e268423eef9797ba7fa
parente30c0d25e6003c6912eb2a9fecd66e2ab07a8a16
Fix a self-move bug in inplace_merge. Thanks to Ted and Dexon for the report and the suggested fix.

llvm-svn: 243530
libcxx/include/algorithm
libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge.pass.cpp
libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge_comp.pass.cpp