diff options
Diffstat (limited to 'src/vmime/net/smtp/SMTPTransport.hpp')
-rw-r--r-- | src/vmime/net/smtp/SMTPTransport.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vmime/net/smtp/SMTPTransport.hpp b/src/vmime/net/smtp/SMTPTransport.hpp index 7b266d3d..a5f15ca6 100644 --- a/src/vmime/net/smtp/SMTPTransport.hpp +++ b/src/vmime/net/smtp/SMTPTransport.hpp @@ -54,7 +54,7 @@ class VMIME_EXPORT SMTPTransport : public transport { public: - SMTPTransport(shared_ptr <session> sess, shared_ptr <security::authenticator> auth, const bool secured = false); + SMTPTransport(const shared_ptr <session>& sess, const shared_ptr <security::authenticator>& auth, const bool secured = false); ~SMTPTransport(); const string getProtocolName() const; @@ -77,7 +77,7 @@ public: const mailbox& sender = mailbox()); void send - (shared_ptr <vmime::message> msg, + (const shared_ptr <vmime::message>& msg, const mailbox& expeditor, const mailboxList& recipients, utility::progressListener* progress = NULL, |