aboutsummaryrefslogtreecommitdiffstats
path: root/vmime/contentHandler.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'vmime/contentHandler.hpp')
-rw-r--r--vmime/contentHandler.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/vmime/contentHandler.hpp b/vmime/contentHandler.hpp
index 45cbb48e..bdc2fde0 100644
--- a/vmime/contentHandler.hpp
+++ b/vmime/contentHandler.hpp
@@ -33,7 +33,7 @@ namespace vmime
{
-class contentHandler
+class contentHandler : public object
{
public:
@@ -47,7 +47,7 @@ public:
*
* @return copy of this object
*/
- virtual contentHandler* clone() const = 0;
+ virtual ref <contentHandler> clone() const = 0;
/** Output the contents into the specified stream. Data will be
* encoded before being written into the stream. This is used internally