diff options
author | tobo <[email protected]> | 2022-02-10 16:47:27 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:47:27 +0300 |
commit | 55a7f90e4cd31e9481cace8ee5dfd682c27e810e (patch) | |
tree | 9814fbd1c3effac9b8377c5d604b367b14e2db55 /util/string/util.h | |
parent | 7fe839092527589b38f014d854c51565b3c1adfa (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/string/util.h')
-rw-r--r-- | util/string/util.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/string/util.h b/util/string/util.h index 24fcaa5bb86..0d77a5042b8 100644 --- a/util/string/util.h +++ b/util/string/util.h @@ -73,13 +73,13 @@ public: /// [DIFFERENCE FOR NOT_FOUND CASE: Returns end of string, not NULL] const char* brk(const char* s) const { while (c_chars_table[(ui8)*s]) - ++s; + ++s; return s; } const char* brk(const char* s, const char* e) const { while (s < e && c_chars_table[(ui8)*s]) - ++s; + ++s; return s; } @@ -87,13 +87,13 @@ public: /// That is, skip all characters in table const char* cbrk(const char* s) const { while (chars_table[(ui8)*s]) - ++s; + ++s; return s; } const char* cbrk(const char* s, const char* e) const { while (s < e && chars_table[(ui8)*s]) - ++s; + ++s; return s; } @@ -148,7 +148,7 @@ public: protected: void init(const char* charset, bool extended); - str_spn() = default; + str_spn() = default; }; // an analogue of tr/$from/$to/ |