diff options
| author | vdmit <[email protected]> | 2022-02-10 16:50:27 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:50:27 +0300 |
| commit | a1a503bb8b1af3ec4b54d6bbcbcad072247f4479 (patch) | |
| tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util | |
| parent | 69c964333af7a135ed5ba2861b12374f55298da2 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 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 11ccfec9d63..70b9360d580 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); } |
