Follow-up PR for #27257
- Deletes the copy constructor/assignment operator of
CNetMessage
- Removes trivial getter for the connection type
- Avoids passing
nRecvFloodSize
to CNode methods by passing it toCNode
on creation
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
See the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
235@@ -236,6 +236,10 @@ class CNetMessage {
236 std::string m_type;
237
238 CNetMessage(CDataStream&& recv_in) : m_recv(std::move(recv_in)) {}
239+ CNetMessage(CNetMessage&&) = default;
CNetMessage
objects.
utACK f824725be383e89346e2dc3269cc3d6aa533bcd3
One suggestion inline if you touch this PR again.