diff options
author | Vincent Richard <[email protected]> | 2013-06-12 12:20:34 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2013-06-12 12:20:34 +0000 |
commit | f2211877a96fbb015d01c911f2a083a4afa09cfd (patch) | |
tree | a72ea021c2e3139a2c060889c1bd41d49bb2b3b3 /src/net/smtp/SMTPCommand.cpp | |
parent | Moved POP3 connection-related things to POP3Connection object. (diff) | |
download | vmime-f2211877a96fbb015d01c911f2a083a4afa09cfd.tar.gz vmime-f2211877a96fbb015d01c911f2a083a4afa09cfd.zip |
Homogeneous use of vmime::string.
Diffstat (limited to 'src/net/smtp/SMTPCommand.cpp')
-rw-r--r-- | src/net/smtp/SMTPCommand.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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> SMTPCommand::EHLO(const std::string& hostname) +ref <SMTPCommand> SMTPCommand::EHLO(const string& hostname) { std::ostringstream cmd; cmd.imbue(std::locale::classic()); @@ -58,7 +58,7 @@ ref <SMTPCommand> SMTPCommand::EHLO(const std::string& hostname) // static -ref <SMTPCommand> SMTPCommand::HELO(const std::string& hostname) +ref <SMTPCommand> SMTPCommand::HELO(const string& hostname) { std::ostringstream cmd; cmd.imbue(std::locale::classic()); @@ -69,7 +69,7 @@ ref <SMTPCommand> SMTPCommand::HELO(const std::string& hostname) // static -ref <SMTPCommand> SMTPCommand::AUTH(const std::string& mechName) +ref <SMTPCommand> SMTPCommand::AUTH(const string& mechName) { std::ostringstream cmd; cmd.imbue(std::locale::classic()); @@ -147,7 +147,7 @@ ref <SMTPCommand> SMTPCommand::QUIT() // static -ref <SMTPCommand> SMTPCommand::createCommand(const std::string& text) +ref <SMTPCommand> SMTPCommand::createCommand(const string& text) { return vmime::create <SMTPCommand>(text); } |