ChannelSocket: make some fields const
Change-Id: I44eca33dc35747eda86cee32be38782cb96d077b
diff --git a/src/multiplexed_socket.cpp b/src/multiplexed_socket.cpp
index e064186..bf0948e 100644
--- a/src/multiplexed_socket.cpp
+++ b/src/multiplexed_socket.cpp
@@ -820,10 +820,10 @@
ChannelReadyCb readyCb_ {};
OnShutdownCb shutdownCb_ {};
std::atomic_bool isShutdown_ {false};
- std::string name {};
- uint16_t channel {};
- std::weak_ptr<MultiplexedSocket> endpoint {};
- bool isInitiator_ {false};
+ const std::string name {};
+ const uint16_t channel {};
+ const std::weak_ptr<MultiplexedSocket> endpoint {};
+ const bool isInitiator_ {false};
std::function<void()> rmFromMxSockCb_;
bool isAnswered_ {false};