From f2211877a96fbb015d01c911f2a083a4afa09cfd Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Wed, 12 Jun 2013 14:20:34 +0200 Subject: Homogeneous use of vmime::string. --- src/net/smtp/SMTPCommand.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/net/smtp/SMTPCommand.cpp') diff --git a/src/net/smtp/SMTPCommand.cpp b/src/net/smtp/SMTPCommand.cpp index 99a3ac17..35ea56fb 100644 --- a/src/net/smtp/SMTPCommand.cpp +++ b/src/net/smtp/SMTPCommand.cpp @@ -40,14 +40,14 @@ namespace net { namespace smtp { -SMTPCommand::SMTPCommand(const std::string& text) +SMTPCommand::SMTPCommand(const string& text) : m_text(text) { } // static -ref SMTPCommand::EHLO(const std::string& hostname) +ref SMTPCommand::EHLO(const string& hostname) { std::ostringstream cmd; cmd.imbue(std::locale::classic()); @@ -58,7 +58,7 @@ ref SMTPCommand::EHLO(const std::string& hostname) // static -ref SMTPCommand::HELO(const std::string& hostname) +ref SMTPCommand::HELO(const string& hostname) { std::ostringstream cmd; cmd.imbue(std::locale::classic()); @@ -69,7 +69,7 @@ ref SMTPCommand::HELO(const std::string& hostname) // static -ref SMTPCommand::AUTH(const std::string& mechName) +ref SMTPCommand::AUTH(const string& mechName) { std::ostringstream cmd; cmd.imbue(std::locale::classic()); @@ -147,7 +147,7 @@ ref SMTPCommand::QUIT() // static -ref SMTPCommand::createCommand(const std::string& text) +ref SMTPCommand::createCommand(const string& text) { return vmime::create (text); } -- cgit v1.2.3