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. --- tests/testUtils.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/testUtils.hpp') diff --git a/tests/testUtils.hpp b/tests/testUtils.hpp index 01910cbc..fdcca575 100644 --- a/tests/testUtils.hpp +++ b/tests/testUtils.hpp @@ -315,14 +315,14 @@ class testSocketFactory : public vmime::net::socketFactory { public: - vmime::ref create() + vmime::shared_ptr create() { - return vmime::create (); + return vmime::make_shared (); } - vmime::ref create(vmime::ref /* th */) + vmime::shared_ptr create(vmime::shared_ptr /* th */) { - return vmime::create (); + return vmime::make_shared (); } }; @@ -366,7 +366,7 @@ class testTimeoutHandlerFactory : public vmime::net::timeoutHandlerFactory { public: - vmime::ref create(); + vmime::shared_ptr create(); }; -- cgit v1.2.3