diff options
Diffstat (limited to 'zen/string_base.h')
-rwxr-xr-x | zen/string_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/string_base.h b/zen/string_base.h index 91a6d5bd..2247f93a 100755 --- a/zen/string_base.h +++ b/zen/string_base.h @@ -423,7 +423,7 @@ size_t Zbase<Char, SP>::rfind(const Char* str, size_t pos) const const size_t len = length(); const Char* currEnd = begin() + (pos == npos ? len : std::min(pos + strLen, len)); const Char* it = searchLast(begin(), currEnd, - str, str + strLen); + str, str + strLen); return it == currEnd ? npos : it - begin(); } |