fix(memory): move construct of NullOnMove
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
963032617e
commit
bf8ffc3dc9
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ public:
|
||||||
|
|
||||||
auto operator=(NullOnMove &&other) noexcept -> NullOnMove &
|
auto operator=(NullOnMove &&other) noexcept -> NullOnMove &
|
||||||
{
|
{
|
||||||
if (this->m_value == other.m_value)
|
if (this == &other)
|
||||||
{
|
{
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue