diff options
author | Vincent Richard <[email protected]> | 2016-04-05 20:11:47 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2016-04-05 20:11:47 +0000 |
commit | b1c2d4b61e95ae22bd918c44236f50002e3e48de (patch) | |
tree | 959bb755b476c98b789d417a4c16f8b5ab5de17e /tests/net/imap/IMAPCommandTest.cpp | |
parent | Fixed indentation. (diff) | |
download | vmime-b1c2d4b61e95ae22bd918c44236f50002e3e48de.tar.gz vmime-b1c2d4b61e95ae22bd918c44236f50002e3e48de.zip |
Clarified object construction where 'enabled_shared_from_this' is used. Use it only where it is needed.
Diffstat (limited to 'tests/net/imap/IMAPCommandTest.cpp')
-rw-r--r-- | tests/net/imap/IMAPCommandTest.cpp | 3 |
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>(); |