From f9913fa28a27f23fde2d4956c62cbb2fb2bc2ee8 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Thu, 21 Nov 2013 22:16:57 +0100 Subject: Boost/C++11 shared pointers. --- src/utility/parserInputStreamAdapter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utility/parserInputStreamAdapter.cpp') diff --git a/src/utility/parserInputStreamAdapter.cpp b/src/utility/parserInputStreamAdapter.cpp index 0d6248cf..fd10a586 100644 --- a/src/utility/parserInputStreamAdapter.cpp +++ b/src/utility/parserInputStreamAdapter.cpp @@ -28,7 +28,7 @@ namespace vmime { namespace utility { -parserInputStreamAdapter::parserInputStreamAdapter(ref stream) +parserInputStreamAdapter::parserInputStreamAdapter(shared_ptr stream) : m_stream(stream) { } @@ -53,7 +53,7 @@ stream::size_type parserInputStreamAdapter::read } -ref parserInputStreamAdapter::getUnderlyingStream() +shared_ptr parserInputStreamAdapter::getUnderlyingStream() { return m_stream; } -- cgit v1.2.3