summaryrefslogtreecommitdiffstats
path: root/util/string/util.h
diff options
context:
space:
mode:
authortobo <[email protected]>2022-02-10 16:47:27 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:47:27 +0300
commit7fe839092527589b38f014d854c51565b3c1adfa (patch)
tree309e97022d3530044b712b8f71318c78faf7856e /util/string/util.h
parentd0d68c395c10da4cb56a1c845504570a04d7893e (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/string/util.h')
-rw-r--r--util/string/util.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/string/util.h b/util/string/util.h
index 0d77a5042b8..24fcaa5bb86 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/