Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Network: Delete copy constructor and use std::move instead (#11642)
This is a follow-up change which disables class copies where possible to avoid unnecessary memory movements.
- Loading branch information
Showing
with
600 additions
and 552 deletions.
- +1 −1 src/client/client.cpp
- +263 −182 src/network/connection.cpp
- +182 −234 src/network/connection.h
- +92 −98 src/network/connectionthreads.cpp
- +25 −6 src/network/connectionthreads.h
- +5 −5 src/unittest/test_connection.cpp
- +32 −26 src/util/pointer.h
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.