mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Resolve gcc8 warnings
This commit is contained in:
committed by
Nikolaos D. Bougalis
parent
a442d3fdb3
commit
93780c25f7
@@ -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&
|
||||
|
||||
Reference in New Issue
Block a user