diff options
| author | Vincent Richard <[email protected]> | 2008-01-30 16:36:57 +0100 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2008-01-30 16:36:57 +0100 |
| commit | 3eee7da0d71441be2feb77e1a90d39b5b1ffb48d (patch) | |
| tree | 2e56c385a5399a4f611b32523896265a1aacd25b | |
| parent | Fixed constructor ambiguity in 'fileAttachment'. (diff) | |
| download | vmime-3eee7da0d71441be2feb77e1a90d39b5b1ffb48d.tar.gz vmime-3eee7da0d71441be2feb77e1a90d39b5b1ffb48d.zip | |
Made constructor explicit to prevent from implicit conversions.
| -rw-r--r-- | vmime/encoding.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vmime/encoding.hpp b/vmime/encoding.hpp index d5ff4112..62f4314e 100644 --- a/vmime/encoding.hpp +++ b/vmime/encoding.hpp @@ -45,7 +45,7 @@ class encoding : public headerFieldValue public: encoding(); - encoding(const string& name); + explicit encoding(const string& name); encoding(const encoding& enc); public: |
