aboutsummaryrefslogtreecommitdiffstats
path: root/src/mailbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailbox.cpp')
-rw-r--r--src/mailbox.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mailbox.cpp b/src/mailbox.cpp
index 1c199a76..a38aada0 100644
--- a/src/mailbox.cpp
+++ b/src/mailbox.cpp
@@ -452,9 +452,9 @@ mailbox& mailbox::operator=(const mailbox& other)
}
-ref <component>mailbox::clone() const
+shared_ptr <component>mailbox::clone() const
{
- return vmime::create <mailbox>(*this);
+ return make_shared <mailbox>(*this);
}
@@ -501,9 +501,9 @@ void mailbox::setEmail(const emailAddress& email)
}
-const std::vector <ref <component> > mailbox::getChildComponents()
+const std::vector <shared_ptr <component> > mailbox::getChildComponents()
{
- return std::vector <ref <component> >();
+ return std::vector <shared_ptr <component> >();
}