aboutsummaryrefslogtreecommitdiffstats
path: root/src/utility
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2013-06-12 14:20:34 +0200
committerVincent Richard <[email protected]>2013-06-12 14:20:34 +0200
commitf2211877a96fbb015d01c911f2a083a4afa09cfd (patch)
treea72ea021c2e3139a2c060889c1bd41d49bb2b3b3 /src/utility
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/utility')
-rw-r--r--src/utility/filteredStream.cpp2
-rw-r--r--src/utility/parserInputStreamAdapter.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/utility/filteredStream.cpp b/src/utility/filteredStream.cpp
index 294a7a94..ecc2eae2 100644
--- a/src/utility/filteredStream.cpp
+++ b/src/utility/filteredStream.cpp
@@ -306,7 +306,7 @@ void LFToCRLFFilteredOutputStream::write
if (count == 0)
return;
- std::string buffer;
+ string buffer;
buffer.reserve(count);
const value_type* pos = data;
diff --git a/src/utility/parserInputStreamAdapter.cpp b/src/utility/parserInputStreamAdapter.cpp
index 54bc8f6a..0d6248cf 100644
--- a/src/utility/parserInputStreamAdapter.cpp
+++ b/src/utility/parserInputStreamAdapter.cpp
@@ -88,7 +88,7 @@ const string parserInputStreamAdapter::extract(const size_type begin, const size
stream::size_type parserInputStreamAdapter::findNext
- (const std::string& token, const size_type startPosition)
+ (const string& token, const size_type startPosition)
{
static const unsigned int BUFFER_SIZE = 4096;