mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 18:55:10 +01:00
Problem: unnecessary explicit definitions/deletions of special member functions in tipc_address_t
Solution: remove them
This commit is contained in:
parent
19b64709bb
commit
afe48e2b16
@ -55,10 +55,6 @@ zmq::tipc_address_t::tipc_address_t (const sockaddr *sa, socklen_t sa_len)
|
||||
_random = false;
|
||||
}
|
||||
|
||||
zmq::tipc_address_t::~tipc_address_t ()
|
||||
{
|
||||
}
|
||||
|
||||
void zmq::tipc_address_t::set_random ()
|
||||
{
|
||||
_random = true;
|
||||
|
@ -50,7 +50,6 @@ class tipc_address_t
|
||||
public:
|
||||
tipc_address_t ();
|
||||
tipc_address_t (const sockaddr *sa, socklen_t sa_len);
|
||||
~tipc_address_t ();
|
||||
|
||||
// This function sets up the address "{type, lower, upper}" for TIPC transport
|
||||
int resolve (const char *name);
|
||||
@ -69,9 +68,6 @@ class tipc_address_t
|
||||
private:
|
||||
bool _random;
|
||||
struct sockaddr_tipc address;
|
||||
|
||||
tipc_address_t (const tipc_address_t &);
|
||||
const tipc_address_t &operator= (const tipc_address_t &);
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user