diff options
author | Vincent Richard <[email protected]> | 2005-07-12 22:28:02 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2005-07-12 22:28:02 +0000 |
commit | 681297e10b666e13cc463f6fbb16236f36c3266c (patch) | |
tree | 5d2392e2283232ed3475cd9c69e22897b03e8a97 /src/emptyContentHandler.cpp | |
parent | Added contentHandler::extractRaw(). (diff) | |
download | vmime-681297e10b666e13cc463f6fbb16236f36c3266c.tar.gz vmime-681297e10b666e13cc463f6fbb16236f36c3266c.zip |
Reference counting and smart pointers.
Diffstat (limited to 'src/emptyContentHandler.cpp')
-rw-r--r-- | src/emptyContentHandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emptyContentHandler.cpp b/src/emptyContentHandler.cpp index 4dea2763..57153fa9 100644 --- a/src/emptyContentHandler.cpp +++ b/src/emptyContentHandler.cpp @@ -29,9 +29,9 @@ emptyContentHandler::emptyContentHandler() } -contentHandler* emptyContentHandler::clone() const +ref <contentHandler> emptyContentHandler::clone() const { - return new emptyContentHandler(); + return vmime::create <emptyContentHandler>(); } |