aboutsummaryrefslogtreecommitdiffstats
path: root/tests/parser/mailboxGroupTest.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/parser/mailboxGroupTest.cpp
parentPer-protocol include files. (diff)
downloadvmime-f9913fa28a27f23fde2d4956c62cbb2fb2bc2ee8.tar.gz
vmime-f9913fa28a27f23fde2d4956c62cbb2fb2bc2ee8.zip
Boost/C++11 shared pointers.
Diffstat (limited to 'tests/parser/mailboxGroupTest.cpp')
-rw-r--r--tests/parser/mailboxGroupTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/parser/mailboxGroupTest.cpp b/tests/parser/mailboxGroupTest.cpp
index 49d22658..6c1319da 100644
--- a/tests/parser/mailboxGroupTest.cpp
+++ b/tests/parser/mailboxGroupTest.cpp
@@ -57,8 +57,8 @@ VMIME_TEST_SUITE_BEGIN(mailboxGroupTest)
VASSERT_EQ("count", 1, addrs.getAddressCount());
VASSERT_TRUE("is group", addrs.getAddressAt(0)->isGroup());
- vmime::ref <vmime::mailboxGroup> mgrp =
- addrs.getAddressAt(0).dynamicCast <vmime::mailboxGroup>();
+ vmime::shared_ptr <vmime::mailboxGroup> mgrp =
+ vmime::dynamicCast <vmime::mailboxGroup>(addrs.getAddressAt(0));
VASSERT_EQ("name", "group", mgrp->getName().getWholeBuffer());
VASSERT_EQ("count", 2, mgrp->getMailboxCount());