diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-01-27 00:49:20 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-01-27 00:49:20 +0000 |
commit | 4de5f98699e3166e07d92f3deb8406f1e6a217de (patch) | |
tree | 1c5dbdb05443bcec2df2eed8658f7c7253ccdf20 | |
parent | 6c52b02e7d0df765da608d8119ae8a20de142cff (diff) | |
download | bcm5719-llvm-4de5f98699e3166e07d92f3deb8406f1e6a217de.tar.gz bcm5719-llvm-4de5f98699e3166e07d92f3deb8406f1e6a217de.zip |
Fix broken commit r258888. I missed adding two pointer conversions
llvm-svn: 258893
-rw-r--r-- | libcxx/include/forward_list | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/forward_list b/libcxx/include/forward_list index a324fc3b5d9..78bcc55e13b 100644 --- a/libcxx/include/forward_list +++ b/libcxx/include/forward_list @@ -326,7 +326,7 @@ public: _LIBCPP_INLINE_VISIBILITY __forward_list_iterator& operator++() { - __ptr_ = __ptr_->__next_; + __ptr_ = __traits::__as_iter_node(__ptr_->__next_); return *this; } _LIBCPP_INLINE_VISIBILITY @@ -410,7 +410,7 @@ public: _LIBCPP_INLINE_VISIBILITY __forward_list_const_iterator& operator++() { - __ptr_ = __ptr_->__next_; + __ptr_ = __traits::__as_iter_node(__ptr_->__next_); return *this; } _LIBCPP_INLINE_VISIBILITY |