mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 12:18:04 +01:00
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:
committed by
Simon Giesecke
parent
86d7de38ca
commit
f60f909899
@@ -33,6 +33,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "array.hpp"
|
||||
#include "macros.hpp"
|
||||
|
||||
namespace zmq
|
||||
{
|
||||
@@ -107,8 +108,7 @@ class dist_t
|
||||
// True if last we are in the middle of a multipart message.
|
||||
bool _more;
|
||||
|
||||
dist_t (const dist_t &);
|
||||
const dist_t &operator= (const dist_t &);
|
||||
ZMQ_NON_COPYABLE_NOR_MOVABLE (dist_t)
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user