From 7c855d11f23dc03d64a0099473a95402f3175280 Mon Sep 17 00:00:00 2001 From: B Stack Date: Tue, 15 Jan 2019 08:16:08 -0500 Subject: 10.8 --- zen/string_tools.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zen/string_tools.h') diff --git a/zen/string_tools.h b/zen/string_tools.h index 8579a460..c3970d05 100755 --- a/zen/string_tools.h +++ b/zen/string_tools.h @@ -300,7 +300,7 @@ S afterLast(const S& str, const T& term, FailureReturnVal rv) const auto* const termFirst = strBegin(term); const auto* it = searchLast(strFirst, strLast, - termFirst, termFirst + termLen); + termFirst, termFirst + termLen); if (it == strLast) return rv == IF_MISSING_RETURN_ALL ? str : S(); @@ -321,7 +321,7 @@ S beforeLast(const S& str, const T& term, FailureReturnVal rv) const auto* const termFirst = strBegin(term); const auto* it = searchLast(strFirst, strLast, - termFirst, termFirst + termLen); + termFirst, termFirst + termLen); if (it == strLast) return rv == IF_MISSING_RETURN_ALL ? str : S(); -- cgit