aboutsummaryrefslogtreecommitdiffstats
path: root/src/fileContentHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileContentHandler.cpp')
-rw-r--r--src/fileContentHandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fileContentHandler.cpp b/src/fileContentHandler.cpp
index 295bc887..53ec9f69 100644
--- a/src/fileContentHandler.cpp
+++ b/src/fileContentHandler.cpp
@@ -35,7 +35,7 @@ fileContentHandler::fileContentHandler()
fileContentHandler::fileContentHandler
- (ref <utility::file> file, const vmime::encoding& enc)
+ (shared_ptr <utility::file> file, const vmime::encoding& enc)
{
setData(file, enc);
}
@@ -61,14 +61,14 @@ fileContentHandler& fileContentHandler::operator=(const fileContentHandler& cts)
}
-ref <contentHandler> fileContentHandler::clone() const
+shared_ptr <contentHandler> fileContentHandler::clone() const
{
- return vmime::create <fileContentHandler>(*this);
+ return make_shared <fileContentHandler>(*this);
}
void fileContentHandler::setData
- (ref <utility::file> file, const vmime::encoding& enc)
+ (shared_ptr <utility::file> file, const vmime::encoding& enc)
{
m_file = file;
m_encoding = enc;