aboutsummaryrefslogtreecommitdiffstats
path: root/vmime/net/smtp/SMTPChunkingOutputStreamAdapter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'vmime/net/smtp/SMTPChunkingOutputStreamAdapter.hpp')
-rw-r--r--vmime/net/smtp/SMTPChunkingOutputStreamAdapter.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/vmime/net/smtp/SMTPChunkingOutputStreamAdapter.hpp b/vmime/net/smtp/SMTPChunkingOutputStreamAdapter.hpp
index a29fbfb4..6ca6c527 100644
--- a/vmime/net/smtp/SMTPChunkingOutputStreamAdapter.hpp
+++ b/vmime/net/smtp/SMTPChunkingOutputStreamAdapter.hpp
@@ -46,11 +46,9 @@ class SMTPConnection;
*/
class VMIME_EXPORT SMTPChunkingOutputStreamAdapter : public utility::outputStream
{
- friend class vmime::creator;
-
public:
- SMTPChunkingOutputStreamAdapter(ref <SMTPConnection> conn);
+ SMTPChunkingOutputStreamAdapter(shared_ptr <SMTPConnection> conn);
void write(const value_type* const data, const size_type count);
void flush();
@@ -65,7 +63,7 @@ private:
void sendChunk(const value_type* const data, const size_type count, const bool last);
- ref <SMTPConnection> m_connection;
+ shared_ptr <SMTPConnection> m_connection;
value_type m_buffer[262144]; // 256 KB
size_type m_bufferSize;