re PR libstdc++/85845 (Many libstdc++ test failures)
authorFrançois Dumont <fdumont@gcc.gnu.org>
Mon, 21 May 2018 16:51:47 +0000 (16:51 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Mon, 21 May 2018 16:51:47 +0000 (16:51 +0000)
2018-05-21  François Dumont  <fdumont@gcc.gnu.org>

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
libstdc++-v3/include/bits/stl_tree.h

index 78f5df691d8ebf2d1eefd895281d6ba7ac9c2889..eb77a791c814ff4b632c3a6ceb89504fcf644e98 100644 (file)
@@ -1,3 +1,10 @@
+2018-05-21  François Dumont  <fdumont@gcc.gnu.org>
+
+       PR libstdc++/85845
+       * include/bits/stl_tree.h
+       (_Rb_tree_impl(_Rb_tree_impl&&, _Node_allocator&&)): Fix noexcept
+       qualification.
+
 2018-05-21  Jonathan Wakely  <jwakely@redhat.com>
 
        * src/filesystem/std-ops.cc (absolute): Report an error for empty
index 85f190acccfaba206748f7fbf476e9fbbe2966f1..b87d6143e26658ce121c138e1ec51ef83c6b1722 100644 (file)
@@ -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<typename _Alloc_traits::is_always_equal>())) )
       : _Rb_tree(std::move(__x), std::move(__a),
                 typename _Alloc_traits::is_always_equal{})