From f9913fa28a27f23fde2d4956c62cbb2fb2bc2ee8 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Thu, 21 Nov 2013 22:16:57 +0100 Subject: Boost/C++11 shared pointers. --- src/contentDisposition.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/contentDisposition.cpp') 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 contentDisposition::clone() const +shared_ptr contentDisposition::clone() const { - return vmime::create (*this); + return make_shared (*this); } @@ -124,9 +124,9 @@ void contentDisposition::setName(const string& name) } -const std::vector > contentDisposition::getChildComponents() +const std::vector > contentDisposition::getChildComponents() { - return std::vector >(); + return std::vector >(); } -- cgit v1.2.3