From d19c702291ff3bd9e769a152e7db96e17f5167f7 Mon Sep 17 00:00:00 2001 From: theraven Date: Thu, 7 Feb 2013 15:45:28 +0000 Subject: Import new libc++ to head. Various small fixes and cleanups. MFC after: 2 weeks --- contrib/libc++/include/iterator | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/libc++/include/iterator') diff --git a/contrib/libc++/include/iterator b/contrib/libc++/include/iterator index bc0ce47..b23310b 100644 --- a/contrib/libc++/include/iterator +++ b/contrib/libc++/include/iterator @@ -822,9 +822,9 @@ private: public: _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR istreambuf_iterator() _NOEXCEPT : __sbuf_(0) {} _LIBCPP_INLINE_VISIBILITY istreambuf_iterator(istream_type& __s) _NOEXCEPT - : __sbuf_(__s.rdbuf()) {__test_for_eof();} + : __sbuf_(__s.rdbuf()) {} _LIBCPP_INLINE_VISIBILITY istreambuf_iterator(streambuf_type* __s) _NOEXCEPT - : __sbuf_(__s) {__test_for_eof();} + : __sbuf_(__s) {} _LIBCPP_INLINE_VISIBILITY istreambuf_iterator(const __proxy& __p) _NOEXCEPT : __sbuf_(__p.__sbuf_) {} -- cgit v1.1