mirror of
https://github.com/zeromq/libzmq.git
synced 2025-02-23 15:14:40 +01:00
Problem: stream_engine_t::_endpoint is unnecessarily non-const
Solution: declare _endpoint const
This commit is contained in:
parent
091df743a8
commit
4d362887bb
@ -191,7 +191,7 @@ class stream_engine_t : public io_object_t, public i_engine
|
||||
const options_t _options;
|
||||
|
||||
// String representation of endpoint
|
||||
std::string _endpoint;
|
||||
const std::string _endpoint;
|
||||
|
||||
bool _plugged;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user