From 0f74ac876717a4855b3495e89922130c05e7b9de Mon Sep 17 00:00:00 2001 From: dentiny Date: Fri, 8 Nov 2024 09:56:33 -0800 Subject: [PATCH] [core] Fix vector assignment (#48648) Signed-off-by: dentiny --- src/ray/common/client_connection.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ray/common/client_connection.cc b/src/ray/common/client_connection.cc index 8767a3274512..e572e622a4dc 100644 --- a/src/ray/common/client_connection.cc +++ b/src/ray/common/client_connection.cc @@ -289,7 +289,6 @@ void ServerConnection::WriteMessageAsync( write_buffer->write_cookie = RayConfig::instance().ray_cookie(); write_buffer->write_type = type; write_buffer->write_length = length; - write_buffer->write_message.resize(length); write_buffer->write_message.assign(message, message + length); write_buffer->handler = handler;