diff options
author | uzhas <uzhas@ydb.tech> | 2023-10-18 09:44:06 +0300 |
---|---|---|
committer | uzhas <uzhas@ydb.tech> | 2023-10-18 10:05:07 +0300 |
commit | b1a190ceae154a9b93b7101534ea95b8c5a4aef6 (patch) | |
tree | e3f03214cfe30a672bc3fad1c6318a357e98641f | |
parent | a73910d4663cf506c0db7cf92e8ba32db0960ea3 (diff) | |
download | ydb-b1a190ceae154a9b93b7101534ea95b8c5a4aef6.tar.gz |
fix coverity issue: use after move
-rw-r--r-- | ydb/public/sdk/cpp/client/ydb_topic/impl/topic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/public/sdk/cpp/client/ydb_topic/impl/topic.cpp b/ydb/public/sdk/cpp/client/ydb_topic/impl/topic.cpp index a37508ec5f..32a4fb30f6 100644 --- a/ydb/public/sdk/cpp/client/ydb_topic/impl/topic.cpp +++ b/ydb/public/sdk/cpp/client/ydb_topic/impl/topic.cpp @@ -78,7 +78,7 @@ TTopicDescription::TTopicDescription(Ydb::Topic::DescribeTopicResult&& result) TConsumerDescription::TConsumerDescription(Ydb::Topic::DescribeConsumerResult&& result) : Proto_(std::move(result)) - , Consumer_(result.consumer()) + , Consumer_(Proto_.consumer()) { for (const auto& part : Proto_.partitions()) { Partitions_.emplace_back(part); |