diff options
author | prime <prime@yandex-team.ru> | 2022-02-10 16:46:00 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:00 +0300 |
commit | 3695a7cd42b74a4987d8d5a8f2e2443556998943 (patch) | |
tree | ee79ee9294a61ee00e647684b3700d0a87e102a3 /contrib/libs/grpc/src/compiler | |
parent | 4d8b546b89b5afc08cf3667e176271c7ba935f33 (diff) | |
download | ydb-3695a7cd42b74a4987d8d5a8f2e2443556998943.tar.gz |
Restoring authorship annotation for <prime@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/grpc/src/compiler')
-rw-r--r-- | contrib/libs/grpc/src/compiler/generator_helpers.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/libs/grpc/src/compiler/generator_helpers.h b/contrib/libs/grpc/src/compiler/generator_helpers.h index 265713a16b..64d98e722d 100644 --- a/contrib/libs/grpc/src/compiler/generator_helpers.h +++ b/contrib/libs/grpc/src/compiler/generator_helpers.h @@ -26,7 +26,7 @@ #include <vector> #include <util/generic/string.h> -#include <util/string/split.h> +#include <util/string/split.h> #include <util/stream/str.h> #include "src/compiler/config.h" @@ -183,10 +183,10 @@ inline void Split(const TStringType& s, char /*delim*/, template <> inline void Split(const TString &s, char delim, std::vector<TString> *append_to) { - TVector<TString> parts; - Split(s, TString(1, delim), parts); - for (auto& p : parts) { - append_to->push_back(std::move(p)); + TVector<TString> parts; + Split(s, TString(1, delim), parts); + for (auto& p : parts) { + append_to->push_back(std::move(p)); } } |