aboutsummaryrefslogtreecommitdiffstats
path: root/src/contentDisposition.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/contentDisposition.cpp')
-rw-r--r--src/contentDisposition.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/contentDisposition.cpp b/src/contentDisposition.cpp
index 300d4ee3..aa9b4fe3 100644
--- a/src/contentDisposition.cpp
+++ b/src/contentDisposition.cpp
@@ -91,9 +91,9 @@ bool contentDisposition::operator!=(const contentDisposition& value) const
}
-ref <component> contentDisposition::clone() const
+shared_ptr <component> contentDisposition::clone() const
{
- return vmime::create <contentDisposition>(*this);
+ return make_shared <contentDisposition>(*this);
}
@@ -124,9 +124,9 @@ void contentDisposition::setName(const string& name)
}
-const std::vector <ref <component> > contentDisposition::getChildComponents()
+const std::vector <shared_ptr <component> > contentDisposition::getChildComponents()
{
- return std::vector <ref <component> >();
+ return std::vector <shared_ptr <component> >();
}