mirror of https://github.com/Icinga/icinga2.git
parent
1f9d54b6a2
commit
b92a139a4c
|
@ -41,7 +41,7 @@ String& String::operator=(Value&& other)
|
|||
if (other.IsString())
|
||||
m_Data = std::move(other.Get<String>());
|
||||
else
|
||||
m_Data = other;
|
||||
*this = static_cast<String>(other);
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue