Resolve gcc8 warnings

This commit is contained in:
seelabs
2018-05-02 10:46:17 -04:00
committed by Nikolaos D. Bougalis
parent a442d3fdb3
commit 93780c25f7
2 changed files with 5 additions and 4 deletions

View File

@@ -365,7 +365,8 @@ Value::Value ( Value&& other ) noexcept
, type_ ( other.type_ )
, allocated_ ( other.allocated_ )
{
std::memset( &other, 0, sizeof(Value) );
other.type_ = nullValue;
other.allocated_ = 0;
}
Value&