aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testUtils.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2013-11-21 21:16:57 +0000
committerVincent Richard <[email protected]>2013-11-21 21:16:57 +0000
commitf9913fa28a27f23fde2d4956c62cbb2fb2bc2ee8 (patch)
tree2bdc90e361a8f6e0a81164cf67afec9f78f9b959 /tests/testUtils.cpp
parentPer-protocol include files. (diff)
downloadvmime-f9913fa28a27f23fde2d4956c62cbb2fb2bc2ee8.tar.gz
vmime-f9913fa28a27f23fde2d4956c62cbb2fb2bc2ee8.zip
Boost/C++11 shared pointers.
Diffstat (limited to 'tests/testUtils.cpp')
-rw-r--r--tests/testUtils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testUtils.cpp b/tests/testUtils.cpp
index 93cb9e38..c22649e6 100644
--- a/tests/testUtils.cpp
+++ b/tests/testUtils.cpp
@@ -243,9 +243,9 @@ bool testTimeoutHandler::handleTimeOut()
// testTimeoutHandlerFactory : public vmime::net::timeoutHandlerFactory
-vmime::ref <vmime::net::timeoutHandler> testTimeoutHandlerFactory::create()
+vmime::shared_ptr <vmime::net::timeoutHandler> testTimeoutHandlerFactory::create()
{
- return vmime::create <testTimeoutHandler>();
+ return vmime::make_shared <testTimeoutHandler>();
}