aboutsummaryrefslogtreecommitdiffstats
path: root/src/dateTime.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2005-07-12 22:28:02 +0000
committerVincent Richard <[email protected]>2005-07-12 22:28:02 +0000
commit681297e10b666e13cc463f6fbb16236f36c3266c (patch)
tree5d2392e2283232ed3475cd9c69e22897b03e8a97 /src/dateTime.cpp
parentAdded contentHandler::extractRaw(). (diff)
downloadvmime-681297e10b666e13cc463f6fbb16236f36c3266c.tar.gz
vmime-681297e10b666e13cc463f6fbb16236f36c3266c.zip
Reference counting and smart pointers.
Diffstat (limited to 'src/dateTime.cpp')
-rw-r--r--src/dateTime.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dateTime.cpp b/src/dateTime.cpp
index d2807a2a..a98fcc8b 100644
--- a/src/dateTime.cpp
+++ b/src/dateTime.cpp
@@ -730,15 +730,15 @@ const datetime datetime::now()
}
-datetime* datetime::clone() const
+ref <component> datetime::clone() const
{
- return new datetime(*this);
+ return vmime::create <datetime>(*this);
}
-const std::vector <const component*> datetime::getChildComponents() const
+const std::vector <ref <const component> > datetime::getChildComponents() const
{
- return std::vector <const component*>();
+ return std::vector <ref <const component> >();
}