summaryrefslogtreecommitdiff
path: root/src/message/sender.hpp
diff options
context:
space:
mode:
authoreportnov <eportnov@ibs.ru>2022-09-14 12:22:28 +0300
committereportnov <eportnov@ibs.ru>2022-09-14 12:33:40 +0300
commita2aeb219b8fa68ea05b79783c03b6f8ffc37558d (patch)
treefee97c3d1b032fa788412defb9c3d16b161d61f8 /src/message/sender.hpp
parent4a1c272dc8c5bbc4cc75ca4b68b04bd4d1089383 (diff)
downloadobmc-sila-smtp-a2aeb219b8fa68ea05b79783c03b6f8ffc37558d.tar.xz
add reload settings before readingdevtool-patcheddevtool-base
Diffstat (limited to 'src/message/sender.hpp')
-rw-r--r--src/message/sender.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/message/sender.hpp b/src/message/sender.hpp
index 11afd6f..ca2c3ff 100644
--- a/src/message/sender.hpp
+++ b/src/message/sender.hpp
@@ -17,7 +17,7 @@ namespace smtp::message
class Sender
{
public:
- Sender( manage::Settings const& settings_storage, manage::Mail const& mail_to );
+ Sender( manage::Settings& settings_storage, manage::Mail const& mail_to );
~Sender() = default;
bool Send( std::string const& mail_from, std::string const& subject, std::string const& text );
@@ -28,7 +28,7 @@ namespace smtp::message
std::string GetHostPortData() const;
static size_t ReadCallBack( void *ptr, size_t size, size_t nmemb, void *userp );
- manage::Settings const& mSettingsStorage;
+ manage::Settings& mSettingsStorage;
manage::Mail const& mMailTo;
bool InitCurl( CURL* curl, WriteThis const& upload_ctx, std::string const& mail_from );