diff --git a/src/contentHandler.cpp b/src/contentHandler.cpp index bf7923a4..295df165 100644 --- a/src/contentHandler.cpp +++ b/src/contentHandler.cpp @@ -106,7 +106,7 @@ void contentHandler::setData(const string& buffer, const string::size_type start } -void contentHandler::setData(utility::inputStream* const is, const utility::stream::size_type length, +void contentHandler::setData(utility::inputStream* is, const utility::stream::size_type length, const bool own, const vmime::encoding& enc) { m_type = TYPE_STREAM; diff --git a/vmime/contentHandler.hpp b/vmime/contentHandler.hpp index fa3dfd56..f3fa8a6e 100644 --- a/vmime/contentHandler.hpp +++ b/vmime/contentHandler.hpp @@ -65,7 +65,7 @@ public: void setData(const utility::stringProxy& str, const vmime::encoding& enc = NO_ENCODING); void setData(const string& buffer, const vmime::encoding& enc = NO_ENCODING); void setData(const string& buffer, const string::size_type start, const string::size_type end, const vmime::encoding& enc = NO_ENCODING); - void setData(utility::inputStream* const is, const utility::stream::size_type length, const bool own, const vmime::encoding& enc = NO_ENCODING); + void setData(utility::inputStream* is, const utility::stream::size_type length, const bool own, const vmime::encoding& enc = NO_ENCODING); // For compatibility contentHandler& operator=(const string& buffer);