diff options
author | vdmit <vdmit@yandex-team.ru> | 2022-02-10 16:50:27 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:27 +0300 |
commit | 69c964333af7a135ed5ba2861b12374f55298da2 (patch) | |
tree | 7efc116e0cba83827a19703d44619eda73cc3a6f /util | |
parent | f4a7ba2c4b9940ec32ff3bd686227823fd740dfe (diff) | |
download | ydb-69c964333af7a135ed5ba2861b12374f55298da2.tar.gz |
Restoring authorship annotation for <vdmit@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util')
-rw-r--r-- | util/generic/strbuf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/generic/strbuf.h b/util/generic/strbuf.h index 70b9360d58..11ccfec9d6 100644 --- a/util/generic/strbuf.h +++ b/util/generic/strbuf.h @@ -334,12 +334,12 @@ public: return false; } - // returns true if string started with `prefix`, false otherwise + // returns true if string started with `prefix`, false otherwise inline bool SkipPrefix(const TdSelf& prefix) noexcept { return AfterPrefix(prefix, *this); } - // returns true if string ended with `suffix`, false otherwise + // returns true if string ended with `suffix`, false otherwise inline bool ChopSuffix(const TdSelf& suffix) noexcept { return BeforeSuffix(suffix, *this); } |