From 4d362887bb3a33a17f138218ec1904b65547933c Mon Sep 17 00:00:00 2001 From: Simon Giesecke Date: Thu, 31 Jan 2019 07:20:50 -0500 Subject: [PATCH] Problem: stream_engine_t::_endpoint is unnecessarily non-const Solution: declare _endpoint const --- src/stream_engine.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stream_engine.hpp b/src/stream_engine.hpp index bf73d3af..1faea837 100644 --- a/src/stream_engine.hpp +++ b/src/stream_engine.hpp @@ -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;