aboutsummaryrefslogtreecommitdiffstats
path: root/src/path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/path.cpp')
-rw-r--r--src/path.cpp8
1 files changed, 4 insertions, 4 deletions
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 <component> path::clone() const
+shared_ptr <component> path::clone() const
{
- return vmime::create <path>(*this);
+ return make_shared <path>(*this);
}
@@ -106,9 +106,9 @@ path& path::operator=(const path& other)
}
-const std::vector <ref <component> > path::getChildComponents()
+const std::vector <shared_ptr <component> > path::getChildComponents()
{
- return std::vector <ref <component> >();
+ return std::vector <shared_ptr <component> >();
}