summaryrefslogtreecommitdiff
path: root/include/string
diff options
context:
space:
mode:
authorDavid Chisnall <theraven@FreeBSD.org>2013-02-07 13:09:19 +0000
committerDavid Chisnall <theraven@FreeBSD.org>2013-02-07 13:09:19 +0000
commitc7f918d0681828afdbddfdcc354b6f3dfc2a7b68 (patch)
treed1f057460d329356b56f67bf5740b7393c925844 /include/string
parentfbd326037ffe8b31f74ce56deb05b6432b26665c (diff)
Diffstat (limited to 'include/string')
-rw-r--r--include/string2
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);
}