Initialize all members.
This commit is contained in:
parent
5f61f714db
commit
988ba6273c
1 changed files with 3 additions and 1 deletions
|
@ -299,7 +299,9 @@ protect_goal::protect_goal(readonly_context &context, const config &cfg, bool pr
|
|||
}
|
||||
|
||||
lua_goal::lua_goal(readonly_context &context, const config &cfg)
|
||||
: goal(context, cfg)
|
||||
: goal(context, cfg)
|
||||
, code_()
|
||||
, handler_()
|
||||
{
|
||||
if (cfg.has_attribute("code")) {
|
||||
code_ = cfg["code"].str();
|
||||
|
|
Loading…
Add table
Reference in a new issue