diff options
author | Vincent Richard <[email protected]> | 2013-11-21 21:16:57 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2013-11-21 21:16:57 +0000 |
commit | f9913fa28a27f23fde2d4956c62cbb2fb2bc2ee8 (patch) | |
tree | 2bdc90e361a8f6e0a81164cf67afec9f78f9b959 /src/emptyContentHandler.cpp | |
parent | Per-protocol include files. (diff) | |
download | vmime-f9913fa28a27f23fde2d4956c62cbb2fb2bc2ee8.tar.gz vmime-f9913fa28a27f23fde2d4956c62cbb2fb2bc2ee8.zip |
Boost/C++11 shared 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 07b53391..f6cdee95 100644 --- a/src/emptyContentHandler.cpp +++ b/src/emptyContentHandler.cpp @@ -33,9 +33,9 @@ emptyContentHandler::emptyContentHandler() } -ref <contentHandler> emptyContentHandler::clone() const +shared_ptr <contentHandler> emptyContentHandler::clone() const { - return vmime::create <emptyContentHandler>(); + return make_shared <emptyContentHandler>(); } |