mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Force CNetMessage::m_recv to use std::move
This commit is contained in:
parent
efecb74677
commit
b0e10ff4df
1 changed files with 1 additions and 1 deletions
|
|
@ -624,7 +624,7 @@ public:
|
|||
uint32_t m_raw_message_size = 0; // used wire size of the message (including header/checksum)
|
||||
std::string m_command;
|
||||
|
||||
CNetMessage(const CDataStream& recv_in) : m_recv(std::move(recv_in)) {}
|
||||
CNetMessage(CDataStream&& recv_in) : m_recv(std::move(recv_in)) {}
|
||||
|
||||
void SetVersion(int nVersionIn)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue