Skip to content

Commit e7b7a26

Browse files
ildar-khisambeevGazizonoki
authored andcommitted
Moved "proper extract" commit from ydb repo
1 parent 64026dc commit e7b7a26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/topic/impl/read_session_impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ class TPartitionStreamImpl : public TAPartitionStream<UseMigrationProtocol> {
740740
}
741741

742742
TRawPartitionStreamEventQueue<UseMigrationProtocol> ExtractQueue() noexcept {
743-
return std::move(EventsQueue);
743+
return std::exchange(EventsQueue, TRawPartitionStreamEventQueue(CbContext));
744744
}
745745

746746
static void GetDataEventImpl(TIntrusivePtr<TPartitionStreamImpl<UseMigrationProtocol>> partitionStream,

0 commit comments

Comments
 (0)