Initialize all members.

This commit is contained in:
Mark de Wever 2011-08-14 17:59:29 +00:00
parent 988ba6273c
commit 2359d1b941

View file

@ -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");
}