diff options
Diffstat (limited to 'include/string')
| -rw-r--r-- | include/string | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/string b/include/string index 5bf42f023a410..1a70467940c7c 100644 --- a/include/string +++ b/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<size_type>(__ps - __p); } |
