diff options
author | brgayazov <[email protected]> | 2024-07-29 15:48:23 +0300 |
---|---|---|
committer | brgayazov <[email protected]> | 2024-07-29 16:06:34 +0300 |
commit | a962048130c7b8aeee4e48ca007c090321f9d0fb (patch) | |
tree | 1e1bdb230b8dea8e0090c3fc94a38497ee9366a1 | |
parent | 9d04836b88630f80198f5fc5c154b38d1142d28b (diff) |
Fixed Strip function usage with system std::string
db0a00cc7d5e1391deed4254e71b5ac9ce01919b
-rw-r--r-- | util/string/strip.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/string/strip.h b/util/string/strip.h index 666300e0e71..809a047cd87 100644 --- a/util/string/strip.h +++ b/util/string/strip.h @@ -88,9 +88,9 @@ struct TStripImpl { if (StripRange(b, e, criterion)) { if constexpr (::TIsTemplateBaseOf<std::basic_string_view, T>::value) { - to = T(b, e - b); + to = T(b, e); } else { - to.assign(b, e - b); + to.assign(b, e); } return true; |