re PR libstdc++/87872 (debug list::splice should not call _M_transfer_from_if on...
authorJohn Bytheway <jbytheway@gmail.com>
Tue, 6 Nov 2018 20:20:06 +0000 (20:20 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Tue, 6 Nov 2018 20:20:06 +0000 (20:20 +0000)
commitcdc71993cf6d210bc7ff5b9c1ec099c25a8c5f48
tree778ba30c5bcc95c9a698ade74fd7dd5cb48a4d5a
parent996bea89df18890e6dd0bdbbf5a7f1d4fd6852ad
re PR libstdc++/87872 (debug list::splice should not call _M_transfer_from_if on self-splices)

2018-11-06  John Bytheway  <jbytheway@gmail.com>

PR libstdc++/87872
* include/debug/safe_sequence.tcc
(_Safe_sequence<>::_M_transfer_from_if): Skip transfer to self.

From-SVN: r265851
libstdc++-v3/ChangeLog
libstdc++-v3/include/debug/safe_sequence.tcc