diff options
author | Thomas Habets <thomas@habets.se> | 2020-03-22 16:30:12 +0000 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2020-03-26 18:48:07 +0100 |
commit | 414a495d639ffb817dd3c04d771719e938f50daf (patch) | |
tree | 613c0e70bd0a1a5dce8d16dfdcbe8d0f77d4197f /gr-blocks/lib/socket_pdu_impl.h | |
parent | c164d3427036bf57af9751380b731b7cd99a4f4a (diff) |
blocks: Add const to member variables that don't change
Diffstat (limited to 'gr-blocks/lib/socket_pdu_impl.h')
-rw-r--r-- | gr-blocks/lib/socket_pdu_impl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-blocks/lib/socket_pdu_impl.h b/gr-blocks/lib/socket_pdu_impl.h index c81cc7a33c..c684ad013f 100644 --- a/gr-blocks/lib/socket_pdu_impl.h +++ b/gr-blocks/lib/socket_pdu_impl.h @@ -31,7 +31,7 @@ private: std::vector<tcp_connection::sptr> d_tcp_connections; void handle_tcp_read(const boost::system::error_code& error, size_t bytes_transferred); - bool d_tcp_no_delay; + const bool d_tcp_no_delay; // TCP server specific boost::shared_ptr<boost::asio::ip::tcp::acceptor> d_acceptor_tcp; |