aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorasorotsky <asorotsky@yandex-team.com>2022-08-16 18:48:38 +0300
committerasorotsky <asorotsky@yandex-team.com>2022-08-16 18:48:38 +0300
commitce24ec5803a45494f1a8fb19a06dcf037852ab10 (patch)
tree339c149bf5207d5b13c6768671b16c3ea137cc0d
parent85ef0ca92b24ef925074e4e4b18b7fbe95e91548 (diff)
downloadydb-ce24ec5803a45494f1a8fb19a06dcf037852ab10.tar.gz
fixup move(const&)
-rw-r--r--ydb/library/yql/minikql/computation/mkql_computation_node.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/library/yql/minikql/computation/mkql_computation_node.h b/ydb/library/yql/minikql/computation/mkql_computation_node.h
index f1a77cca7e..798d2e5254 100644
--- a/ydb/library/yql/minikql/computation/mkql_computation_node.h
+++ b/ydb/library/yql/minikql/computation/mkql_computation_node.h
@@ -266,7 +266,7 @@ using TStreamEmitter = std::function<void(NUdf::TUnboxedValue&&)>;
struct TPatternWithEnv;
struct TComputationPatternOpts {
- TComputationPatternOpts(const std::shared_ptr<TInjectedAlloc>& cacheAlloc, const std::shared_ptr<TTypeEnvironment>& cacheEnv)
+ TComputationPatternOpts(std::shared_ptr<TInjectedAlloc> cacheAlloc, std::shared_ptr<TTypeEnvironment> cacheEnv)
: CacheAlloc(std::move(cacheAlloc))
, CacheTypeEnv(std::move(cacheEnv))
, AllocState(CacheAlloc->InjectedState())