Made constructor explicit to prevent from implicit conversions.

This commit is contained in:
Vincent Richard 2008-01-30 15:36:57 +00:00
parent 50c3621cd3
commit 3eee7da0d7

View File

@ -45,7 +45,7 @@ class encoding : public headerFieldValue
public:
encoding();
encoding(const string& name);
explicit encoding(const string& name);
encoding(const encoding& enc);
public: