Skip to content

Commit 13348f6

Browse files
committed
[SDK] Fixed use-after-move in topic write session (#16369)
1 parent 2a9fa56 commit 13348f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/topic/impl/write_session_impl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ void TWriteSessionImpl::OnReadDone(NYdbGrpc::TGrpcStatus&& grpcStatus, size_t co
951951
TProcessSrvMessageResult processResult;
952952
bool needSetValue = false;
953953
if (!grpcStatus.Ok()) {
954-
errorStatus = TPlainStatus(std::move(grpcStatus));
954+
errorStatus = TPlainStatus(grpcStatus);
955955
}
956956
bool doRead = false;
957957
{

0 commit comments

Comments
 (0)