diff options
Diffstat (limited to 'src/platforms/posix/posixSocket.cpp')
-rw-r--r-- | src/platforms/posix/posixSocket.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platforms/posix/posixSocket.cpp b/src/platforms/posix/posixSocket.cpp index a958680f..be346b2a 100644 --- a/src/platforms/posix/posixSocket.cpp +++ b/src/platforms/posix/posixSocket.cpp @@ -172,9 +172,9 @@ void posixSocket::sendRaw(const char* buffer, const int count) // posixSocketFactory // -vmime::messaging::socket* posixSocketFactory::create() +ref <vmime::messaging::socket> posixSocketFactory::create() { - return new posixSocket(); + return vmime::create <posixSocket>(); } |