aboutsummaryrefslogtreecommitdiffstats
path: root/tests/parser/mailboxGroupTest.cpp
diff options
context:
space:
mode:
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());