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/path.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/path.cpp') diff --git a/src/path.cpp b/src/path.cpp index 3e6e7a84..8722c9a7 100644 --- a/src/path.cpp +++ b/src/path.cpp @@ -93,9 +93,9 @@ void path::copyFrom(const component& other) } -ref path::clone() const +shared_ptr path::clone() const { - return vmime::create (*this); + return make_shared (*this); } @@ -106,9 +106,9 @@ path& path::operator=(const path& other) } -const std::vector > path::getChildComponents() +const std::vector > path::getChildComponents() { - return std::vector >(); + return std::vector >(); } -- cgit v1.2.3