Fixed: AIS crash if variable not initialized (forgot to commit)
This commit is contained in:
parent
bbc7692aff
commit
bebae652cc
1 changed files with 3 additions and 3 deletions
|
@ -431,8 +431,8 @@ std::string CStateInstance::getStrNelVar(std::string const& varId)
|
|||
return "";
|
||||
}
|
||||
|
||||
_StrNelVar[varId] = new NLMISC::CVariable<std::string>("StateInstanceVar", varId.c_str(), "", std::string());
|
||||
return _NelVar[varId]->get();
|
||||
_StrNelVar[varId] = new NLMISC::CVariable<std::string>("StateInstanceStrVar", varId.c_str(), "", std::string());
|
||||
return _StrNelVar[varId]->get();
|
||||
}
|
||||
|
||||
inline
|
||||
|
|
Loading…
Reference in a new issue