mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-07 05:58:45 +01:00
Problem: ptr/ref parameters and local variables are non-const but never modified
Solution: add const
This commit is contained in:
@@ -69,7 +69,7 @@ class socket_poller_t
|
||||
} event_t;
|
||||
|
||||
int add (socket_base_t *socket_, void *user_data_, short events_);
|
||||
int modify (socket_base_t *socket_, short events_);
|
||||
int modify (const socket_base_t *socket_, short events_);
|
||||
int remove (socket_base_t *socket_);
|
||||
|
||||
int add_fd (fd_t fd_, void *user_data_, short events_);
|
||||
|
||||
Reference in New Issue
Block a user