Fix subscript out of range crash
This commit is contained in:
parent
082c87e528
commit
d6b71078da
|
@ -61,7 +61,10 @@ private:
|
|||
std::string GetCurrentValue()
|
||||
{
|
||||
std::string val;
|
||||
val.assign(&this->CurrentValue[0], this->CurrentValue.size());
|
||||
if(this->CurrentValue.size())
|
||||
{
|
||||
val.assign(&this->CurrentValue[0], this->CurrentValue.size());
|
||||
}
|
||||
return val;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue