diff options
author | luigi1111 <luigi1111w@gmail.com> | 2019-06-11 18:13:09 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2019-06-11 18:13:09 -0500 |
commit | c48722caa9166b6fd646778dfefd71d1f131193f (patch) | |
tree | 07636263c3f2b2f84ec5e969e2dfe2786e7c39c6 /contrib/epee/include/net/net_utils_base.h | |
parent | Merge pull request #5583 (diff) | |
parent | cmake: do not use -mmitigate-rop on GCC >= 9.1 (diff) | |
download | monero-c48722caa9166b6fd646778dfefd71d1f131193f.tar.xz |
Merge pull request #5613
2cbe756 p2p: fix GCC 9.1 crash (moneromooo-monero)
35c20c4 Fix GCC 9.1 build warnings (moneromooo-monero)
e284889 cmake: do not use -mmitigate-rop on GCC >= 9.1 (moneromooo-monero)
Diffstat (limited to 'contrib/epee/include/net/net_utils_base.h')
-rw-r--r-- | contrib/epee/include/net/net_utils_base.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/epee/include/net/net_utils_base.h b/contrib/epee/include/net/net_utils_base.h index 50536f63b..83e6b5ab8 100644 --- a/contrib/epee/include/net/net_utils_base.h +++ b/contrib/epee/include/net/net_utils_base.h @@ -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); |