aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/src
diff options
context:
space:
mode:
authorFrançois Dumont <fdumont@gcc.gnu.org>2017-06-15 20:32:09 +0000
committerFrançois Dumont <fdumont@gcc.gnu.org>2017-06-15 20:32:09 +0000
commit0356a0749bed3e294fcee1ad1d47a1f681189e38 (patch)
tree05d2e8e5f7485273f504459fc83488cae017d932 /libstdc++-v3/src
parent3a849280c70fb896a35dd006ffe1a37171eed81e (diff)
downloadgcc-0356a0749bed3e294fcee1ad1d47a1f681189e38.zip
gcc-0356a0749bed3e294fcee1ad1d47a1f681189e38.tar.gz
gcc-0356a0749bed3e294fcee1ad1d47a1f681189e38.tar.bz2
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. From-SVN: r249226
Diffstat (limited to 'libstdc++-v3/src')
-rw-r--r--libstdc++-v3/src/c++98/tree.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/libstdc++-v3/src/c++98/tree.cc b/libstdc++-v3/src/c++98/tree.cc
index 50fa7cf..0984b05 100644
--- a/libstdc++-v3/src/c++98/tree.cc
+++ b/libstdc++-v3/src/c++98/tree.cc
@@ -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,