Skip to content

Commit c0ff3a2

Browse files
committed
修改为asio::write
1 parent f9c728c commit c0ff3a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CodeFormatServer/src/Session/StandardIOSession.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ bool StandardIO::HasError()
5757

5858
void StandardIO::Write(std::string_view content)
5959
{
60-
_out->write_some(asio::buffer(content.data(),content.size()));
60+
// _out->write_some();
61+
asio::write(*_out, asio::buffer(content.data(), content.size()));
6162
}
6263

6364
#else

0 commit comments

Comments
 (0)