From 146d301002d639c792201481aefb1c2d3a56408a Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Thu, 19 Dec 2024 11:11:47 -0600 Subject: [PATCH] refactor --- repertory/librepertory/include/providers/base_provider.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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_; }