aboutsummaryrefslogtreecommitdiffstats
path: root/src/vmime/fileContentHandler.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vmime/fileContentHandler.hpp')
-rw-r--r--src/vmime/fileContentHandler.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vmime/fileContentHandler.hpp b/src/vmime/fileContentHandler.hpp
index 5b01fb8b..1436a002 100644
--- a/src/vmime/fileContentHandler.hpp
+++ b/src/vmime/fileContentHandler.hpp
@@ -62,7 +62,7 @@ public:
* @return a reference to a new content handler
*/
fileContentHandler
- (shared_ptr <utility::file> file,
+ (const shared_ptr <utility::file>& file,
const vmime::encoding& enc = NO_ENCODING);
~fileContentHandler();
@@ -79,7 +79,7 @@ public:
* in the file is already encoded with the specified encoding
*/
void setData
- (shared_ptr <utility::file> file,
+ (const shared_ptr <utility::file>& file,
const vmime::encoding& enc = NO_ENCODING);
private: