2017-06-15 François Dumont <fdumont@gcc.gnu.org>
authorFrançois Dumont <fdumont@gcc.gnu.org>
Thu, 15 Jun 2017 20:32:09 +0000 (20:32 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Thu, 15 Jun 2017 20:32:09 +0000 (20:32 +0000)
* src/c++98/tree.cc  [!_GLIBCXX_INLINE_VERSION]
(_Rb_tree_rotate_left, _Rb_tree_rotate_right): Delete.

From-SVN: r249226

libstdc++-v3/ChangeLog
libstdc++-v3/src/c++98/tree.cc

index 276110dd220719bbb549a58be678fe3f284404bc..ceb4811ff35d8baf0ce228ca583f19c4a631f734 100644 (file)
@@ -1,3 +1,8 @@
+2017-06-15  François Dumont  <fdumont@gcc.gnu.org>
+
+       * src/c++98/tree.cc  [!_GLIBCXX_INLINE_VERSION]
+       (_Rb_tree_rotate_left, _Rb_tree_rotate_right): Delete.
+
 2017-06-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * testsuite: Add dg-require-effective-target pthread to -pthread
index 50fa7cf9f31f5d9f2f662e1c040abceeb122e9b6..0984b05e0af4a0dcb5885e3e70ec405f90c859a8 100644 (file)
@@ -150,15 +150,15 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
     __x->_M_parent = __y;
   }
 
+#if !_GLIBCXX_INLINE_VERSION
   /* Static keyword was missing on _Rb_tree_rotate_left.
      Export the symbol for backward compatibility until
      next ABI change.  */
   void
   _Rb_tree_rotate_left(_Rb_tree_node_base* const __x,
                       _Rb_tree_node_base*& __root)
-  {
-    local_Rb_tree_rotate_left (__x, __root);
-  }
+  { local_Rb_tree_rotate_left (__x, __root); }
+#endif
 
   static void
   local_Rb_tree_rotate_right(_Rb_tree_node_base* const __x,
@@ -181,15 +181,15 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
     __x->_M_parent = __y;
   }
 
+#if !_GLIBCXX_INLINE_VERSION
   /* Static keyword was missing on _Rb_tree_rotate_right
      Export the symbol for backward compatibility until
      next ABI change.  */
   void
   _Rb_tree_rotate_right(_Rb_tree_node_base* const __x,
                        _Rb_tree_node_base*& __root)
-  {
-    local_Rb_tree_rotate_right (__x, __root);
-  }
+  { local_Rb_tree_rotate_right (__x, __root); }
+#endif
 
   void
   _Rb_tree_insert_and_rebalance(const bool          __insert_left,