mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-12 14:09:14 +00:00
Initialize all members.
This commit is contained in:
parent
2359d1b941
commit
f8978538f0
@ -115,8 +115,14 @@ schema_validator::schema_validator()
|
||||
schema_validator::~schema_validator(){}
|
||||
|
||||
schema_validator::schema_validator(const std::string & config_file_name)
|
||||
:create_exceptions_(false),stack_(),counter_(),cache_(){
|
||||
config_read_ = read_config_file(config_file_name);
|
||||
: config_read_(read_config_file(config_file_name))
|
||||
, create_exceptions_(false)
|
||||
, root_()
|
||||
, stack_()
|
||||
, counter_()
|
||||
, cache_()
|
||||
, types_()
|
||||
{
|
||||
if (! config_read_) {
|
||||
ERR_VL << "Schema file "<< config_file_name << " was not read.\n";
|
||||
throw abstract_validator::error("Schema file "+ config_file_name
|
||||
|
Loading…
x
Reference in New Issue
Block a user