Made constructor explicit to prevent from implicit conversions.
This commit is contained in:
parent
50c3621cd3
commit
3eee7da0d7
@ -45,7 +45,7 @@ class encoding : public headerFieldValue
|
||||
public:
|
||||
|
||||
encoding();
|
||||
encoding(const string& name);
|
||||
explicit encoding(const string& name);
|
||||
encoding(const encoding& enc);
|
||||
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user