diff options
author | lunc <lunc@yandex-team.ru> | 2022-02-10 16:49:39 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:39 +0300 |
commit | ad8c15be8c1a4f48a52390f23cb735060461684e (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/string/util.cpp | |
parent | 2a5efb07f92ee222959e5f3f26eddd1d6c7fd7da (diff) | |
download | ydb-ad8c15be8c1a4f48a52390f23cb735060461684e.tar.gz |
Restoring authorship annotation for <lunc@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/string/util.cpp')
-rw-r--r-- | util/string/util.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/string/util.cpp b/util/string/util.cpp index 320baf7dcd..b14f20bf75 100644 --- a/util/string/util.cpp +++ b/util/string/util.cpp @@ -13,8 +13,8 @@ int a2i(const TString& s) { //============================== span ===================================== void str_spn::init(const char* charset, bool extended) { - // chars_table_1 is necessary to avoid some unexpected - // multi-threading issues + // chars_table_1 is necessary to avoid some unexpected + // multi-threading issues ui8 chars_table_1[256]; memset(chars_table_1, 0, sizeof(chars_table_1)); if (extended) { @@ -34,9 +34,9 @@ void str_spn::init(const char* charset, bool extended) { } } memcpy(chars_table, chars_table_1, 256); - chars_table_1[0] = 1; + chars_table_1[0] = 1; for (int n = 0; n < 256; n++) { - c_chars_table[n] = !chars_table_1[n]; + c_chars_table[n] = !chars_table_1[n]; } } |