summaryrefslogtreecommitdiff
path: root/zen/string_tools.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <shieldwed@outlook.com>2019-01-16 00:44:17 +0000
committerDaniel Wilhelm <shieldwed@outlook.com>2019-01-16 00:44:17 +0000
commitc03ea582bff36fe020af1aa329b34f3e6d580f92 (patch)
tree41b8a3085df4de883f2993773b138f1436e041a4 /zen/string_tools.h
parentMerge branch '10.7' into 'master' (diff)
parent10.8 (diff)
downloadFreeFileSync-c03ea582bff36fe020af1aa329b34f3e6d580f92.tar.gz
FreeFileSync-c03ea582bff36fe020af1aa329b34f3e6d580f92.tar.bz2
FreeFileSync-c03ea582bff36fe020af1aa329b34f3e6d580f92.zip
Merge branch '10.8' into 'master'10.8
10.8 See merge request opensource-tracking/FreeFileSync!5
Diffstat (limited to 'zen/string_tools.h')
-rwxr-xr-xzen/string_tools.h4
1 files changed, 2 insertions, 2 deletions
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();
bgstack15