Revert accidental check-in. These changes are probably good, but premature at this point.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@174625 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Howard Hinnant
2013-02-07 15:31:44 +00:00
parent 46c49d19aa
commit 635bbbb6d1
4 changed files with 8 additions and 35 deletions

View File

@@ -290,7 +290,7 @@ void
__split_buffer<_Tp, _Allocator>::__destruct_at_begin(pointer __new_begin, false_type)
{
while (__begin_ != __new_begin)
__alloc_traits::destroy(__alloc(), _VSTD::__to_raw_pointer(__begin_++));
__alloc_traits::destroy(__alloc(), __begin_++);
}
template <class _Tp, class _Allocator>
@@ -307,7 +307,7 @@ void
__split_buffer<_Tp, _Allocator>::__destruct_at_end(pointer __new_last, false_type) _NOEXCEPT
{
while (__new_last != __end_)
__alloc_traits::destroy(__alloc(), _VSTD::__to_raw_pointer(--__end_));
__alloc_traits::destroy(__alloc(), --__end_);
}
template <class _Tp, class _Allocator>