PR libstdc++/87872 Avoids iterator transfer on self splice

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

PR libstdc++/87872 Avoids iterator transfer on self splice

François Dumont-2
Here is the patch submitted by John and now fully tested.

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

Is it fine to commit it now ?

François


pr87872.patch (579 bytes) Download Attachment