From 3163d706125449f04eff0aa2b544e3faeeb086c7 Mon Sep 17 00:00:00 2001 From: Evgeny Zverev Date: Sat, 4 Jan 2025 14:49:21 +0000 Subject: [PATCH] move --- ydb/core/tx/columnshard/hooks/testing/controller.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ydb/core/tx/columnshard/hooks/testing/controller.h b/ydb/core/tx/columnshard/hooks/testing/controller.h index 771ad370b1a1..be745d5fdd07 100644 --- a/ydb/core/tx/columnshard/hooks/testing/controller.h +++ b/ydb/core/tx/columnshard/hooks/testing/controller.h @@ -285,7 +285,7 @@ class TController: public TReadOnlyController { } void SetRestartOnLocalTxCommitted(std::optional txInfo) { - RestartOnLocalDbTxCommitted = txInfo; + RestartOnLocalDbTxCommitted = std::move(txInfo); } virtual void OnAfterLocalTxCommitted(const NActors::TActorContext& ctx, const ::NKikimr::NColumnShard::TColumnShard& shard, const TString& txInfo) override;