PR libstdc++/86954 use non-placement operator delete
commit1e959ac05cfed4b1e771d9c5b78bd78f88df3387
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Aug 2018 20:19:20 +0000 (14 20:19 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Aug 2018 20:19:20 +0000 (14 20:19 +0000)
tree419f83c3b76cd023643bafb8ff8cb013c8e24a9d
parent3b8ba91c6fc4b1c259d72ea34ce301d0b4d92445
PR libstdc++/86954 use non-placement operator delete

As explained in the PR, there's no reason to call the nothrow delete,
we can just use the normal one.

PR libstdc++/86954
* include/bits/stl_tempbuf.h (return_temporary_buffer): Use
non-placement delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263542 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_tempbuf.h