mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-14 23:07:59 +02:00
Problem: several fields are non-const without need
Solution: add const where easily possible
This commit is contained in:
@@ -178,7 +178,7 @@ class stream_engine_t : public io_object_t, public i_engine
|
||||
// The session this engine is attached to.
|
||||
zmq::session_base_t *session;
|
||||
|
||||
options_t options;
|
||||
const options_t options;
|
||||
|
||||
// String representation of endpoint
|
||||
std::string endpoint;
|
||||
|
Reference in New Issue
Block a user