Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2013-02-07 19:31:44 +0400
committerHoward Hinnant <hhinnant@apple.com>2013-02-07 19:31:44 +0400
commitaba500d6335df7fe3a7cf45eb702de36bdd68749 (patch)
tree9e6694754545715720eaed8a6e59e1d435ebd6fa /libcxx/include/__split_buffer
parenteffd98b0f47e2bcb30e1e67305c753855dd897c3 (diff)
Revert accidental check-in. These changes are probably good, but premature at this point.
llvm-svn: 174625
Diffstat (limited to 'libcxx/include/__split_buffer')
-rw-r--r--libcxx/include/__split_buffer4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/__split_buffer b/libcxx/include/__split_buffer
index d498b21eb1db..e0aa13b89883 100644
--- a/libcxx/include/__split_buffer
+++ b/libcxx/include/__split_buffer
@@ -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>