From 0b39d57b6a853d7c0425b0ebac44221dadbf4cb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Sat, 29 Sep 2018 09:58:24 +0200 Subject: [PATCH] Enable again push_back/push_front. --- .../boost/container/detail/multiallocation_chain.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/boost/container/detail/multiallocation_chain.hpp b/include/boost/container/detail/multiallocation_chain.hpp index e4d5af3..bc3b285 100644 --- a/include/boost/container/detail/multiallocation_chain.hpp +++ b/include/boost/container/detail/multiallocation_chain.hpp @@ -231,16 +231,16 @@ class transform_multiallocation_chain return static_cast (this->MultiallocationChain::operator=(::boost::move(static_cast(other)))); } -/* + void push_front(const pointer &mem) - { holder_.push_front(mem); } + { this->MultiallocationChain::push_front(mem); } void push_back(const pointer &mem) - { return holder_.push_back(mem); } + { return this->MultiallocationChain::push_back(mem); } void swap(transform_multiallocation_chain &other_chain) - { holder_.swap(other_chain.holder_); } -*/ + { this->MultiallocationChain::swap(other_chain); } + void splice_after(iterator after_this, transform_multiallocation_chain &x, iterator before_b, iterator before_e, size_type n) { this->MultiallocationChain::splice_after(after_this.base(), x, before_b.base(), before_e.base(), n); }