Author: ericwf Date: Tue Jan 26 18:49:20 2016 New Revision: 258893 URL: http://llvm.org/viewvc/llvm-project?rev=258893&view=rev Log: Fix broken commit r258888. I missed adding two pointer conversions
Modified: libcxx/trunk/include/forward_list Modified: libcxx/trunk/include/forward_list URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/forward_list?rev=258893&r1=258892&r2=258893&view=diff ============================================================================== --- libcxx/trunk/include/forward_list (original) +++ libcxx/trunk/include/forward_list Tue Jan 26 18:49:20 2016 @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits