From 681297e10b666e13cc463f6fbb16236f36c3266c Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Tue, 12 Jul 2005 22:28:02 +0000 Subject: Reference counting and smart pointers. --- src/messaging/sendmail/sendmailTransport.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/messaging/sendmail/sendmailTransport.cpp') diff --git a/src/messaging/sendmail/sendmailTransport.cpp b/src/messaging/sendmail/sendmailTransport.cpp index 969cb7ae..e9b8256b 100644 --- a/src/messaging/sendmail/sendmailTransport.cpp +++ b/src/messaging/sendmail/sendmailTransport.cpp @@ -46,7 +46,7 @@ namespace messaging { namespace sendmail { -sendmailTransport::sendmailTransport(session* sess, authenticator* auth) +sendmailTransport::sendmailTransport(ref sess, ref auth) : transport(sess, getInfosInstance(), auth), m_connected(false) { } @@ -145,7 +145,7 @@ void sendmailTransport::internalSend const utility::file::path path = vmime::platformDependant::getHandler()-> getFileSystemFactory()->stringToPath(m_sendmailPath); - utility::auto_ptr proc = + ref proc = vmime::platformDependant::getHandler()-> getChildProcessFactory()->create(path); -- cgit