aboutsummaryrefslogtreecommitdiffstats
path: root/tests/utility/outputStreamSocketAdapterTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/utility/outputStreamSocketAdapterTest.cpp')
-rw-r--r--tests/utility/outputStreamSocketAdapterTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/utility/outputStreamSocketAdapterTest.cpp b/tests/utility/outputStreamSocketAdapterTest.cpp
index 920c7f47..417eff8b 100644
--- a/tests/utility/outputStreamSocketAdapterTest.cpp
+++ b/tests/utility/outputStreamSocketAdapterTest.cpp
@@ -37,7 +37,7 @@ VMIME_TEST_SUITE_BEGIN(outputStreamSocketAdapterTest)
void testWrite()
{
- vmime::ref <testSocket> socket = vmime::create <testSocket>();
+ vmime::shared_ptr <testSocket> socket = vmime::make_shared <testSocket>();
vmime::utility::outputStreamSocketAdapter stream(*socket);
stream << "some data";
@@ -55,7 +55,7 @@ VMIME_TEST_SUITE_BEGIN(outputStreamSocketAdapterTest)
"\xc5\x9a\xc3\xb8\xc9\xb1\xc9\x9b\x20\xc9\x93\xc9\xa8\xc9\xb2\xc9"
"\x91\xc5\x95\xc9\xa3\x20\xc9\x96\xc9\x90\xca\x88\xc9\x92";
- vmime::ref <testSocket> socket = vmime::create <testSocket>();
+ vmime::shared_ptr <testSocket> socket = vmime::make_shared <testSocket>();
vmime::utility::outputStreamSocketAdapter stream(*socket);
stream.write(binaryData, sizeof(binaryData));
@@ -69,7 +69,7 @@ VMIME_TEST_SUITE_BEGIN(outputStreamSocketAdapterTest)
void testWriteCRLF()
{
- vmime::ref <testSocket> socket = vmime::create <testSocket>();
+ vmime::shared_ptr <testSocket> socket = vmime::make_shared <testSocket>();
vmime::utility::outputStreamSocketAdapter stream(*socket);
stream << "some data";