aboutsummaryrefslogtreecommitdiffstats
path: root/src/contentDisposition.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 /src/contentDisposition.cpp
parentPer-protocol include files. (diff)
downloadvmime-f9913fa28a27f23fde2d4956c62cbb2fb2bc2ee8.tar.gz
vmime-f9913fa28a27f23fde2d4956c62cbb2fb2bc2ee8.zip
Boost/C++11 shared pointers.
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> >();
}