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

@@ -135,8 +135,7 @@ class pgm_receiver_t : public io_object_t, public i_engine
// Poll handle associated with engine PGM waiting pipe.
handle_t pipe_handle;
pgm_receiver_t (const pgm_receiver_t &);
const pgm_receiver_t &operator= (const pgm_receiver_t &);
ZMQ_NON_COPYABLE_NOR_MOVABLE (pgm_receiver_t)
};
}