diff options
author | eportnov <eportnov@ibs.ru> | 2022-09-13 15:03:25 +0300 |
---|---|---|
committer | eportnov <eportnov@ibs.ru> | 2022-09-13 15:03:25 +0300 |
commit | e8aeea36e6b48e18d27f9d7857cd29524cc8aa1f (patch) | |
tree | b99540f810072b746d033d6cd8d06aabb75afcad /src/message/builder/cc.cpp | |
parent | a58088ec7a45bb86b155a8ef9514b35b0ba8d1c9 (diff) | |
download | obmc-sila-smtp-e8aeea36e6b48e18d27f9d7857cd29524cc8aa1f.tar.xz |
add writing filesbugfix/write_file
Diffstat (limited to 'src/message/builder/cc.cpp')
-rw-r--r-- | src/message/builder/cc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/message/builder/cc.cpp b/src/message/builder/cc.cpp index 9863abf..3cf3276 100644 --- a/src/message/builder/cc.cpp +++ b/src/message/builder/cc.cpp @@ -2,7 +2,7 @@ namespace smtp::message::builder { - Cc::Cc( std::list<std::string> const& mail_to ) + Cc::Cc( manage::MailsSet const& mail_to ) : mMailTo( mail_to ) { @@ -34,6 +34,6 @@ namespace smtp::message::builder bool Cc::IsFirstElement( std::string const& cc ) const { - return cc == mMailTo.front(); + return cc == *mMailTo.begin(); } } |