mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-26 22:12:53 -05:00
Code cleanup.
This commit is contained in:
@@ -52,7 +52,7 @@ public:
|
||||
m_ctx(ctx),
|
||||
m_body(std::move(body))
|
||||
{
|
||||
m_buf = uv_buf_init(const_cast<char *>(m_body.c_str()), m_body.size());
|
||||
m_buf = uv_buf_init(&m_body.front(), m_body.size());
|
||||
}
|
||||
|
||||
inline ~HttpWriteBaton()
|
||||
|
||||
Reference in New Issue
Block a user