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/string | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/libc++/include/string') diff --git a/contrib/libc++/include/string b/contrib/libc++/include/string index 5bf42f0..1a70467 100644 --- a/contrib/libc++/include/string +++ b/contrib/libc++/include/string @@ -3374,7 +3374,7 @@ basic_string<_CharT, _Traits, _Allocator>::find_first_not_of(value_type __c, { const_pointer __p = data(); const_pointer __pe = __p + __sz; - for (const_pointer __ps = __p + __pos; __p != __pe; ++__ps) + for (const_pointer __ps = __p + __pos; __ps != __pe; ++__ps) if (!traits_type::eq(*__ps, __c)) return static_cast(__ps - __p); } -- cgit v1.1