Skip to content

Commit

Permalink
Avoiding unnecessary copying
Browse files Browse the repository at this point in the history
  • Loading branch information
nshestakov committed Mar 4, 2024
1 parent a3397fb commit e4337db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ydb/core/persqueue/partition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1910,7 +1910,7 @@ void TPartition::EndChangePartitionConfig(const NKikimrPQ::TPQTabletConfig& conf
NPersQueue::TTopicConverterPtr topicConverter,
const TActorContext& ctx)
{
Config = config;
Config = std::move(config);
PartitionConfig = GetPartitionConfig(Config);
PartitionGraph = MakePartitionGraph(Config);
TopicConverter = topicConverter;
Expand Down

0 comments on commit e4337db

Please sign in to comment.