diff options
author | heretic <heretic@yandex-team.ru> | 2022-02-10 16:45:43 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:43 +0300 |
commit | 397cbe258b9e064f49c4ca575279f02f39fef76e (patch) | |
tree | a0b0eb3cca6a14e4e8ea715393637672fa651284 /contrib/libs/grpc/test/cpp/util/subprocess.cc | |
parent | 43f5a35593ebc9f6bcea619bb170394ea7ae468e (diff) | |
download | ydb-397cbe258b9e064f49c4ca575279f02f39fef76e.tar.gz |
Restoring authorship annotation for <heretic@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/grpc/test/cpp/util/subprocess.cc')
-rw-r--r-- | contrib/libs/grpc/test/cpp/util/subprocess.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/libs/grpc/test/cpp/util/subprocess.cc b/contrib/libs/grpc/test/cpp/util/subprocess.cc index 648bd50274..a90802b5af 100644 --- a/contrib/libs/grpc/test/cpp/util/subprocess.cc +++ b/contrib/libs/grpc/test/cpp/util/subprocess.cc @@ -24,7 +24,7 @@ namespace grpc { -static gpr_subprocess* MakeProcess(const std::vector<TString>& args) { +static gpr_subprocess* MakeProcess(const std::vector<TString>& args) { std::vector<const char*> vargs; for (auto it = args.begin(); it != args.end(); ++it) { vargs.push_back(it->c_str()); @@ -32,7 +32,7 @@ static gpr_subprocess* MakeProcess(const std::vector<TString>& args) { return gpr_subprocess_create(vargs.size(), &vargs[0]); } -SubProcess::SubProcess(const std::vector<TString>& args) +SubProcess::SubProcess(const std::vector<TString>& args) : subprocess_(MakeProcess(args)) {} SubProcess::~SubProcess() { gpr_subprocess_destroy(subprocess_); } |