diff options
author | albert <albert@yandex-team.ru> | 2022-02-10 16:48:14 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:14 +0300 |
commit | 9f25ef3232c288ca664ceee6c376cf64e4349a2e (patch) | |
tree | b192eaf3150845f7302fafd460a972b0439d6fe5 /library/cpp/string_utils/scan | |
parent | 6a1e535429145ec1ecfbc5f1efd3c95323261fb5 (diff) | |
download | ydb-9f25ef3232c288ca664ceee6c376cf64e4349a2e.tar.gz |
Restoring authorship annotation for <albert@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/string_utils/scan')
-rw-r--r-- | library/cpp/string_utils/scan/scan.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/string_utils/scan/scan.h b/library/cpp/string_utils/scan/scan.h index 703db54321..5711bafeab 100644 --- a/library/cpp/string_utils/scan/scan.h +++ b/library/cpp/string_utils/scan/scan.h @@ -4,19 +4,19 @@ template <bool addAll, char sep, char sepKeyVal, class F> static inline void ScanKeyValue(TStringBuf s, F&& f) { - TStringBuf key, val; + TStringBuf key, val; while (!s.empty()) { val = s.NextTok(sep); if (val.empty()) { - continue; // && case + continue; // && case } key = val.NextTok(sepKeyVal); if (addAll || val.IsInited()) { - f(key, val); // includes empty keys + f(key, val); // includes empty keys } } } |