diff options
Diffstat (limited to 'include/connection.hpp')
-rw-r--r-- | include/connection.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/connection.hpp b/include/connection.hpp index c6d557c..67bc6f1 100644 --- a/include/connection.hpp +++ b/include/connection.hpp @@ -85,7 +85,7 @@ public: * * @since 0.1.0 */ - explicit Connection(Instance &instance) + explicit Connection(const Instance &instance) : _instance{instance} , _baseuri{instance.get_baseuri()} { @@ -292,7 +292,7 @@ public: CURLWrapper::cancel_stream(); } private: - Instance &_instance; + const Instance &_instance; const string_view _baseuri; [[nodiscard]] |