aboutsummaryrefslogtreecommitdiffstats
path: root/util/string/split.h
diff options
context:
space:
mode:
authorputilin <putilin@yandex-team.ru>2022-02-10 16:49:29 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:29 +0300
commitd85af01a101a46c4381ba0c8d5785a43c8273afd (patch)
tree955ec4a6a051440017d27a47b877dc44311daa50 /util/string/split.h
parentc03ef37690111076e93822dbfa59fd672fa45c33 (diff)
downloadydb-d85af01a101a46c4381ba0c8d5785a43c8273afd.tar.gz
Restoring authorship annotation for <putilin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/string/split.h')
-rw-r--r--util/string/split.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/util/string/split.h b/util/string/split.h
index bc46d9e64c..22cbb8bcda 100644
--- a/util/string/split.h
+++ b/util/string/split.h
@@ -298,23 +298,23 @@ struct TContainerConsumer {
T* C;
};
-template <class T>
-struct TContainerConvertingConsumer {
+template <class T>
+struct TContainerConvertingConsumer {
inline TContainerConvertingConsumer(T* c) noexcept
- : C(c)
- {
- }
-
- template <class I>
- inline bool Consume(I* b, I* d, I* /*e*/) {
+ : C(c)
+ {
+ }
+
+ template <class I>
+ inline bool Consume(I* b, I* d, I* /*e*/) {
TConsumerBackInserter<T>::DoInsert(C, FromString<typename T::value_type>(TStringBuf(b, d)));
-
- return true;
- }
-
- T* C;
-};
-
+
+ return true;
+ }
+
+ T* C;
+};
+
template <class S, class I>
struct TLimitingConsumer {
inline TLimitingConsumer(size_t cnt, S* slave) noexcept