Initialize all members.
This commit is contained in:
parent
988ba6273c
commit
2359d1b941
1 changed files with 9 additions and 2 deletions
|
@ -99,8 +99,15 @@ static void wrong_value_error(const std::string & file, int line,
|
|||
print_output (ss.str (),flag_exception);
|
||||
}
|
||||
|
||||
schema_validator::schema_validator():config_read_(false),
|
||||
create_exceptions_(false),stack_(),counter_(),cache_(){
|
||||
schema_validator::schema_validator()
|
||||
: config_read_(false)
|
||||
, create_exceptions_(false)
|
||||
, root_()
|
||||
, stack_()
|
||||
, counter_()
|
||||
, cache_()
|
||||
, types_()
|
||||
{
|
||||
ERR_VL << "No schema file\n";
|
||||
throw abstract_validator::error("No schema file\n");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue