aboutsummaryrefslogtreecommitdiffstats
path: root/Types.cpp
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-02-13 01:38:07 +0800
committerChristian <c@ethdev.com>2015-02-13 03:19:49 +0800
commit1c3c1f1e5d366ba6d1da03ebaaf03d425037504b (patch)
treefa482ea80f72da63739baee40ca10965438bfcb4 /Types.cpp
parent0e40b21c56c352b7453303b116c4b16459af6ffe (diff)
downloaddexon-solidity-1c3c1f1e5d366ba6d1da03ebaaf03d425037504b.tar.gz
dexon-solidity-1c3c1f1e5d366ba6d1da03ebaaf03d425037504b.tar.zst
dexon-solidity-1c3c1f1e5d366ba6d1da03ebaaf03d425037504b.zip
Copying structs.
Diffstat (limited to 'Types.cpp')
-rw-r--r--Types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Types.cpp b/Types.cpp
index 33cc8a1e..16514b14 100644
--- a/Types.cpp
+++ b/Types.cpp
@@ -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;