mirror of
https://github.com/zeromq/cppzmq.git
synced 2024-12-12 18:40:28 +01:00
monitor_t: Avoid compiler warnings resulting from unused method parameters.
This commit is contained in:
parent
495eba101c
commit
6c17af22b7
22
zmq.hpp
22
zmq.hpp
@ -547,17 +547,17 @@ namespace zmq
|
||||
}
|
||||
#endif
|
||||
virtual void on_monitor_started() {}
|
||||
virtual void on_event_connected(const zmq_event_t &event_, const char* addr_) {}
|
||||
virtual void on_event_connect_delayed(const zmq_event_t &event_, const char* addr_) {}
|
||||
virtual void on_event_connect_retried(const zmq_event_t &event_, const char* addr_) {}
|
||||
virtual void on_event_listening(const zmq_event_t &event_, const char* addr_) {}
|
||||
virtual void on_event_bind_failed(const zmq_event_t &event_, const char* addr_) {}
|
||||
virtual void on_event_accepted(const zmq_event_t &event_, const char* addr_) {}
|
||||
virtual void on_event_accept_failed(const zmq_event_t &event_, const char* addr_) {}
|
||||
virtual void on_event_closed(const zmq_event_t &event_, const char* addr_) {}
|
||||
virtual void on_event_close_failed(const zmq_event_t &event_, const char* addr_) {}
|
||||
virtual void on_event_disconnected(const zmq_event_t &event_, const char* addr_) {}
|
||||
virtual void on_event_unknown(const zmq_event_t &event_, const char* addr_) {}
|
||||
virtual void on_event_connected(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }
|
||||
virtual void on_event_connect_delayed(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }
|
||||
virtual void on_event_connect_retried(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }
|
||||
virtual void on_event_listening(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }
|
||||
virtual void on_event_bind_failed(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }
|
||||
virtual void on_event_accepted(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }
|
||||
virtual void on_event_accept_failed(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }
|
||||
virtual void on_event_closed(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }
|
||||
virtual void on_event_close_failed(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }
|
||||
virtual void on_event_disconnected(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }
|
||||
virtual void on_event_unknown(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; }
|
||||
private:
|
||||
void* socketPtr;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user