Nullable::Reset() hardening (#4232)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
parent
d0c2234be4
commit
ff53067dd3
@ -102,8 +102,8 @@ public:
|
||||
{
|
||||
if (m_hasValue)
|
||||
{
|
||||
m_value.~T();
|
||||
m_hasValue = false;
|
||||
m_value.~T();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user