diff options
author | Christian <c@ethdev.com> | 2015-02-13 01:38:07 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2015-02-13 03:19:49 +0800 |
commit | 1c3c1f1e5d366ba6d1da03ebaaf03d425037504b (patch) | |
tree | fa482ea80f72da63739baee40ca10965438bfcb4 /Types.cpp | |
parent | 0e40b21c56c352b7453303b116c4b16459af6ffe (diff) | |
download | dexon-solidity-1c3c1f1e5d366ba6d1da03ebaaf03d425037504b.tar.gz dexon-solidity-1c3c1f1e5d366ba6d1da03ebaaf03d425037504b.tar.zst dexon-solidity-1c3c1f1e5d366ba6d1da03ebaaf03d425037504b.zip |
Copying structs.
Diffstat (limited to 'Types.cpp')
-rw-r--r-- | Types.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -653,7 +653,7 @@ u256 StructType::getStorageOffsetOfMember(string const& _name) const { //@todo cache member offset? u256 offset; - for (ASTPointer<VariableDeclaration> variable: m_struct.getMembers()) + for (ASTPointer<VariableDeclaration> const& variable: m_struct.getMembers()) { if (variable->getName() == _name) return offset; |