HomePhabricator

Force CNetMessage::m_recv to use std::move

Description

Force CNetMessage::m_recv to use std::move

Summary:
Partial backport 4/7 of core PR16202:
https://github.com/bitcoin/bitcoin/pull/16202/commits/b0e10ff4df3d4c70fb172ea8c3128c82e6e368bb

Depends on D8224.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK, jasonbcox

Reviewed By: #bitcoin_abc, PiRK, jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D8225

Details

Provenance
Jonas Schnelli <dev@jonasschnelli.ch>Authored on Oct 22 2019, 13:28
FabienCommitted on Nov 3 2020, 10:02
FabienPushed on Nov 3 2020, 10:03
Reviewer
Restricted Project
Differential Revision
D8225: Force CNetMessage::m_recv to use std::move
Parents
rABCa7040a762ffb: Use adapter pattern for the network deserializer
Branches
Unknown
Tags
Unknown