From 8b6d2d3bbf13d0d48128f381d1092d4c36d356c2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Dumont?= Date: Mon, 21 May 2018 16:51:47 +0000 Subject: [PATCH] re PR libstdc++/85845 (Many libstdc++ test failures) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 2018-05-21 François Dumont PR libstdc++/85845 * include/bits/stl_tree.h (_Rb_tree_impl(_Rb_tree_impl&&, _Node_allocator&&)): Fix noexcept qualification. From-SVN: r260478 --- libstdc++-v3/ChangeLog | 7 +++++++ libstdc++-v3/include/bits/stl_tree.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 78f5df691d8..eb77a791c81 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2018-05-21 François Dumont + + PR libstdc++/85845 + * include/bits/stl_tree.h + (_Rb_tree_impl(_Rb_tree_impl&&, _Node_allocator&&)): Fix noexcept + qualification. + 2018-05-21 Jonathan Wakely * src/filesystem/std-ops.cc (absolute): Report an error for empty diff --git a/libstdc++-v3/include/bits/stl_tree.h b/libstdc++-v3/include/bits/stl_tree.h index 85f190acccf..b87d6143e26 100644 --- a/libstdc++-v3/include/bits/stl_tree.h +++ b/libstdc++-v3/include/bits/stl_tree.h @@ -980,7 +980,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION public: _Rb_tree(_Rb_tree&& __x, _Node_allocator&& __a) noexcept( noexcept( - _Rb_tree(std::declval<_Rb_tree>(), std::declval<_Node_allocator>(), + _Rb_tree(std::declval<_Rb_tree&&>(), std::declval<_Node_allocator&&>(), std::declval())) ) : _Rb_tree(std::move(__x), std::move(__a), typename _Alloc_traits::is_always_equal{}) -- 2.30.2