diff --git a/repertory/librepertory/include/providers/base_provider.hpp b/repertory/librepertory/include/providers/base_provider.hpp index 63995ebf..6a104a88 100644 --- a/repertory/librepertory/include/providers/base_provider.hpp +++ b/repertory/librepertory/include/providers/base_provider.hpp @@ -96,7 +96,9 @@ protected: return api_item_added_; } - [[nodiscard]] auto get_comm() const -> i_http_comm & { return comm_; } + [[nodiscard]] auto get_comm() -> i_http_comm & { return comm_; } + + [[nodiscard]] auto get_comm() const -> const i_http_comm & { return comm_; } [[nodiscard]] auto get_config() -> app_config & { return config_; }