mirror of
https://github.com/monero-project/monero.git
synced 2025-05-07 00:15:03 -04:00
Fix GCC 9.1 build warnings
GCC wants operator= aand copy ctor to be both defined, or neither
This commit is contained in:
parent
2cbe75661c
commit
35c20c4332
3 changed files with 20 additions and 0 deletions
|
@ -294,6 +294,11 @@ namespace net_utils
|
|||
m_max_speed_up(0)
|
||||
{}
|
||||
|
||||
connection_context_base(const connection_context_base& a): connection_context_base()
|
||||
{
|
||||
set_details(a.m_connection_id, a.m_remote_address, a.m_is_income, a.m_ssl);
|
||||
}
|
||||
|
||||
connection_context_base& operator=(const connection_context_base& a)
|
||||
{
|
||||
set_details(a.m_connection_id, a.m_remote_address, a.m_is_income, a.m_ssl);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue