From 268878f895ae2605fda5effae69084416c2c3d1d Mon Sep 17 00:00:00 2001 From: Liam Date: Mon, 6 Jun 2022 23:50:56 -0400 Subject: [PATCH] core/debugger: fix asio write usage --- src/core/debugger/debugger.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/debugger/debugger.cpp b/src/core/debugger/debugger.cpp index 69b7d987de..8d64990edc 100644 --- a/src/core/debugger/debugger.cpp +++ b/src/core/debugger/debugger.cpp @@ -66,7 +66,7 @@ public: } stopped = true; - signal_pipe.write_some(boost::asio::buffer(&thread, sizeof(thread))); + boost::asio::write(signal_pipe, boost::asio::buffer(&thread, sizeof(thread))); return true; } @@ -75,7 +75,7 @@ public: } void WriteToClient(std::span data) override { - client_socket.write_some(boost::asio::buffer(data.data(), data.size_bytes())); + boost::asio::write(client_socket, boost::asio::buffer(data.data(), data.size_bytes())); } void SetActiveThread(Kernel::KThread* thread) override {