Mark a bunch of constructors as explicit

This prevents undesired implicit conversions
This commit is contained in:
ridiculousfish
2016-02-27 19:38:15 -08:00
parent 88a785e321
commit 10f3ea0008
22 changed files with 45 additions and 69 deletions

View File

@@ -173,7 +173,7 @@ private:
}
public:
test_parser(const wcstring_list_t &val) : strings(val)
explicit test_parser(const wcstring_list_t &val) : strings(val)
{ }
expression *parse_expression(unsigned int start, unsigned int end);