Make MemberList nothrow move constructible.

This commit is contained in:
chriseth
2018-08-07 14:20:18 +02:00
parent d0bfe4b225
commit 133fd3d302
2 changed files with 2 additions and 11 deletions
-9
View File
@@ -169,15 +169,6 @@ pair<u256, unsigned> const* StorageOffsets::offset(size_t _index) const
return nullptr;
}
MemberList& MemberList::operator=(MemberList&& _other)
{
solAssert(&_other != this, "");
m_memberTypes = move(_other.m_memberTypes);
m_storageOffsets = move(_other.m_storageOffsets);
return *this;
}
void MemberList::combine(MemberList const & _other)
{
m_memberTypes += _other.m_memberTypes;