Problem: missing use of C++11 = delete and = default

Solution: introduce macros ZMQ_DEFAULT and ZMQ_NON_COPYABLE_NOR_MOVABLE
This commit is contained in:
Simon Giesecke
2019-12-08 19:22:04 +01:00
committed by Simon Giesecke
parent 86d7de38ca
commit f60f909899
99 changed files with 178 additions and 269 deletions

View File

@@ -296,8 +296,8 @@ bool zmq::tcp_connecter_t::tune_socket (const fd_t fd_)
{
const int rc = tune_tcp_socket (fd_)
| tune_tcp_keepalives (
fd_, options.tcp_keepalive, options.tcp_keepalive_cnt,
options.tcp_keepalive_idle, options.tcp_keepalive_intvl)
fd_, options.tcp_keepalive, options.tcp_keepalive_cnt,
options.tcp_keepalive_idle, options.tcp_keepalive_intvl)
| tune_tcp_maxrt (fd_, options.tcp_maxrt);
return rc == 0;
}