aboutsummaryrefslogtreecommitdiffstats
path: root/util/string/util.h
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:48 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:48 +0300
commit9abfb1a53b7f7b791444d1378e645d8fad9b06ed (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /util/string/util.h
parent8cbc307de0221f84c80c42dcbe07d40727537e2c (diff)
downloadydb-9abfb1a53b7f7b791444d1378e645d8fad9b06ed.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/string/util.h')
-rw-r--r--util/string/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/string/util.h b/util/string/util.h
index 4c9732fcaf..0d77a5042b 100644
--- a/util/string/util.h
+++ b/util/string/util.h
@@ -132,7 +132,7 @@ public:
/// strsep + remember character that was destroyed
char* sep(char*& s, char& sep_char) const {
if (!s)
- return nullptr;
+ return nullptr;
char* ret = s;
char* next = brk(ret);
if (*next) {
@@ -141,7 +141,7 @@ public:
s = next + 1;
} else {
sep_char = 0;
- s = nullptr;
+ s = nullptr;
}
return ret;
}