PR64903 simplify last fix to std::is_partitioned
authorJonathan Wakely <jwakely@redhat.com>
Fri, 20 Jan 2017 00:33:25 +0000 (00:33 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 20 Jan 2017 00:33:25 +0000 (00:33 +0000)
commit5b4ca3060a9cd95cb837542049e37400dad22b3b
tree117ffb7367ed768b75b4570f08ff70b558675ae7
parentf2f6dece0e83508b9402012b69ffc25dc4847992
PR64903 simplify last fix to std::is_partitioned

PR libstdc++/64903
* include/bits/stl_algo.h (is_partitioned): Use increment instead of
std::advance.

From-SVN: r244675
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_algo.h