diff options
author | chriseth <c@ethdev.com> | 2015-03-17 02:00:09 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-03-17 02:00:45 +0800 |
commit | c284408e7a31f2e24611cf6360b492e35ab1c0b5 (patch) | |
tree | 5871e7976992083268504d539d2702b40cbb39b5 /Types.cpp | |
parent | 9b2a255c1b0ac1e247a59e4cd8cb3c94b53aca7c (diff) | |
download | dexon-solidity-c284408e7a31f2e24611cf6360b492e35ab1c0b5.tar.gz dexon-solidity-c284408e7a31f2e24611cf6360b492e35ab1c0b5.tar.zst dexon-solidity-c284408e7a31f2e24611cf6360b492e35ab1c0b5.zip |
Add move assignment operator manually.
Diffstat (limited to 'Types.cpp')
-rw-r--r-- | Types.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -79,6 +79,12 @@ pair<u256, unsigned> const* StorageOffsets::getOffset(size_t _index) const return nullptr; } +MemberList& MemberList::operator=(MemberList&& _other) +{ + m_memberTypes = std::move(_other.m_memberTypes); + m_storageOffsets = std::move(_other.m_storageOffsets); +} + std::pair<u256, unsigned> const* MemberList::getMemberStorageOffset(string const& _name) const { if (!m_storageOffsets) |