diff options
Diffstat (limited to 'src/path.cpp')
-rw-r--r-- | src/path.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/path.cpp b/src/path.cpp index 153facd3..5cb6371c 100644 --- a/src/path.cpp +++ b/src/path.cpp @@ -89,9 +89,9 @@ void path::copyFrom(const component& other) } -path* path::clone() const +ref <component> path::clone() const { - return new path(*this); + return vmime::create <path>(*this); } @@ -102,9 +102,9 @@ path& path::operator=(const path& other) } -const std::vector <const component*> path::getChildComponents() const +const std::vector <ref <const component> > path::getChildComponents() const { - return std::vector <const component*>(); + return std::vector <ref <const component> >(); } |