aboutsummaryrefslogtreecommitdiffstats
path: root/vmime
diff options
context:
space:
mode:
Diffstat (limited to 'vmime')
-rw-r--r--vmime/net/imap/IMAPUtils.hpp2
-rw-r--r--vmime/net/smtp/SMTPCommand.hpp12
-rw-r--r--vmime/propertySet.hpp2
-rw-r--r--vmime/security/digest/messageDigestFactory.hpp2
-rw-r--r--vmime/utility/parserInputStreamAdapter.hpp2
5 files changed, 10 insertions, 10 deletions
diff --git a/vmime/net/imap/IMAPUtils.hpp b/vmime/net/imap/IMAPUtils.hpp
index e9527813..aea02ef9 100644
--- a/vmime/net/imap/IMAPUtils.hpp
+++ b/vmime/net/imap/IMAPUtils.hpp
@@ -143,7 +143,7 @@ public:
private:
static const string buildFetchRequestImpl
- (const std::string& mode, const std::string& set, const int options);
+ (const string& mode, const string& set, const int options);
};
diff --git a/vmime/net/smtp/SMTPCommand.hpp b/vmime/net/smtp/SMTPCommand.hpp
index 774587de..79db16a2 100644
--- a/vmime/net/smtp/SMTPCommand.hpp
+++ b/vmime/net/smtp/SMTPCommand.hpp
@@ -59,9 +59,9 @@ class VMIME_EXPORT SMTPCommand : public object
public:
- static ref <SMTPCommand> HELO(const std::string& hostname);
- static ref <SMTPCommand> EHLO(const std::string& hostname);
- static ref <SMTPCommand> AUTH(const std::string& mechName);
+ static ref <SMTPCommand> HELO(const string& hostname);
+ static ref <SMTPCommand> EHLO(const string& hostname);
+ static ref <SMTPCommand> AUTH(const string& mechName);
static ref <SMTPCommand> STARTTLS();
static ref <SMTPCommand> MAIL(const mailbox& mbox);
static ref <SMTPCommand> RCPT(const mailbox& mbox);
@@ -75,7 +75,7 @@ public:
* @param text command text
* @return a new SMTPCommand object
*/
- static ref <SMTPCommand> createCommand(const std::string& text);
+ static ref <SMTPCommand> createCommand(const string& text);
/** Sends this command to the specified socket.
*
@@ -92,12 +92,12 @@ public:
protected:
- SMTPCommand(const std::string& text);
+ SMTPCommand(const string& text);
SMTPCommand(const SMTPCommand&);
private:
- std::string m_text;
+ string m_text;
};
diff --git a/vmime/propertySet.hpp b/vmime/propertySet.hpp
index cd84aed5..a2679808 100644
--- a/vmime/propertySet.hpp
+++ b/vmime/propertySet.hpp
@@ -341,7 +341,7 @@ private:
private:
- const std::string m_name;
+ const string m_name;
};
ref <property> find(const string& name) const;
diff --git a/vmime/security/digest/messageDigestFactory.hpp b/vmime/security/digest/messageDigestFactory.hpp
index 9c743827..2a1a4083 100644
--- a/vmime/security/digest/messageDigestFactory.hpp
+++ b/vmime/security/digest/messageDigestFactory.hpp
@@ -70,7 +70,7 @@ private:
};
- typedef std::map <std::string, ref <digestAlgorithmFactory> > MapType;
+ typedef std::map <string, ref <digestAlgorithmFactory> > MapType;
MapType m_algos;
public:
diff --git a/vmime/utility/parserInputStreamAdapter.hpp b/vmime/utility/parserInputStreamAdapter.hpp
index 3b323658..ae2b1af9 100644
--- a/vmime/utility/parserInputStreamAdapter.hpp
+++ b/vmime/utility/parserInputStreamAdapter.hpp
@@ -157,7 +157,7 @@ public:
return pos - initialPos;
}
- size_type findNext(const std::string& token, const size_type startPosition = 0);
+ size_type findNext(const string& token, const size_type startPosition = 0);
private: