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

Solution: remove them
This commit is contained in:
Simon Giesecke 2019-02-01 04:21:02 -05:00
parent 19b64709bb
commit afe48e2b16
2 changed files with 0 additions and 8 deletions

View File

@ -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;

View File

@ -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 &);
};
}