diff options
author | sankear <sankear@yandex-team.ru> | 2022-02-10 16:50:10 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:10 +0300 |
commit | 7377d7b033ffbef85e9bb0bf35091a8e79ed422c (patch) | |
tree | fca7665beced1b829e5ab628094d3721a66c1001 /util/string/vector.h | |
parent | f054f783b50cf93fa12c0cc6375769c21f3fd27e (diff) | |
download | ydb-7377d7b033ffbef85e9bb0bf35091a8e79ed422c.tar.gz |
Restoring authorship annotation for <sankear@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/string/vector.h')
-rw-r--r-- | util/string/vector.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/string/vector.h b/util/string/vector.h index e36c348bbe..d01d9403c3 100644 --- a/util/string/vector.h +++ b/util/string/vector.h @@ -16,12 +16,12 @@ // NOTE: Check StringSplitter below to get more convenient split string interface. namespace NPrivate { - + void SplitStringImpl(TVector<TString>* res, const char* ptr, const char* delimiter, size_t maxFields, int options); void SplitStringImpl(TVector<TString>* res, const char* ptr, size_t len, const char* delimiter, size_t maxFields, int options); - + void SplitStringImpl(TVector<TUtf16String>* res, const wchar16* ptr, const wchar16* delimiter, size_t maxFields, int options); void SplitStringImpl(TVector<TUtf16String>* res, const wchar16* ptr, size_t len, @@ -56,9 +56,9 @@ SplitString(const C* ptr, size_t len, const C* delimiter, size_t maxFields = 0, int options = 0) { TVector<typename ::NPrivate::TStringDeducer<C>::type> res; ::NPrivate::SplitStringImpl(&res, ptr, len, delimiter, maxFields, options); - return res; -} - + return res; +} + template <typename C> TVector<typename ::NPrivate::TStringDeducer<C>::type> SplitString(const typename ::NPrivate::TStringDeducer<C>::type& str, const C* delimiter, |