diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/connection.hpp | 2 | ||||
-rw-r--r-- | include/curl_wrapper.hpp | 2 | ||||
-rw-r--r-- | include/instance.hpp | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/include/connection.hpp b/include/connection.hpp index 09a3945..5ffe969 100644 --- a/include/connection.hpp +++ b/include/connection.hpp @@ -104,7 +104,7 @@ public: * Sets also the proxy for the Instance you used to initialize this * Connection. */ - void set_proxy(const string_view proxy); + void set_proxy(string_view proxy); private: Instance &_instance; diff --git a/include/curl_wrapper.hpp b/include/curl_wrapper.hpp index faf79a5..dcd40ec 100644 --- a/include/curl_wrapper.hpp +++ b/include/curl_wrapper.hpp @@ -137,7 +137,7 @@ public: * * @since 0.1.0 */ - void set_proxy(const string_view proxy); + void set_proxy(string_view proxy); protected: /*! diff --git a/include/instance.hpp b/include/instance.hpp index cecb324..28f8f27 100644 --- a/include/instance.hpp +++ b/include/instance.hpp @@ -50,8 +50,7 @@ public: * * @since 0.1.0 */ - explicit Instance(const string_view hostname, - const string_view access_token); + explicit Instance(string_view hostname, string_view access_token); /*! * @brief Returns the hostname. |