Commit afe48e2b authored by Simon Giesecke's avatar Simon Giesecke

Problem: unnecessary explicit definitions/deletions of special member functions in tipc_address_t

Solution: remove them
parent 19b64709
......@@ -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 &);
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment