summaryrefslogtreecommitdiff
path: root/src/message/sender.hpp
diff options
context:
space:
mode:
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 );