aboutsummaryrefslogtreecommitdiffstats
path: root/tests/net/imap/IMAPCommandTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/net/imap/IMAPCommandTest.cpp')
-rw-r--r--tests/net/imap/IMAPCommandTest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/net/imap/IMAPCommandTest.cpp b/tests/net/imap/IMAPCommandTest.cpp
index 00054781..f274bb27 100644
--- a/tests/net/imap/IMAPCommandTest.cpp
+++ b/tests/net/imap/IMAPCommandTest.cpp
@@ -458,8 +458,7 @@ VMIME_TEST_SUITE_BEGIN(IMAPCommandTest)
{
vmime::shared_ptr <IMAPCommand> cmd = IMAPCommand::createCommand("MY_COMMAND param1 param2");
- vmime::shared_ptr <vmime::net::session> sess =
- vmime::make_shared <vmime::net::session>();
+ vmime::shared_ptr <vmime::net::session> sess = vmime::net::session::create();
vmime::shared_ptr <vmime::security::authenticator> auth =
vmime::make_shared <vmime::security::defaultAuthenticator>();