aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/smtp/SMTPCommand.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2013-06-12 12:20:34 +0000
committerVincent Richard <[email protected]>2013-06-12 12:20:34 +0000
commitf2211877a96fbb015d01c911f2a083a4afa09cfd (patch)
treea72ea021c2e3139a2c060889c1bd41d49bb2b3b3 /src/net/smtp/SMTPCommand.cpp
parentMoved POP3 connection-related things to POP3Connection object. (diff)
downloadvmime-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.cpp10
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);
}