diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-14 00:22:53 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-14 06:16:14 +0800 |
commit | 52808f67fa608b62d6d9ee81b266edb183e13d48 (patch) | |
tree | e03287f416a94d956a1f0d99cafe0f32c92075b0 /Types.cpp | |
parent | b1b6b63d6be34156729aa12e55e6bed0827967be (diff) | |
download | dexon-solidity-52808f67fa608b62d6d9ee81b266edb183e13d48.tar.gz dexon-solidity-52808f67fa608b62d6d9ee81b266edb183e13d48.tar.zst dexon-solidity-52808f67fa608b62d6d9ee81b266edb183e13d48.zip |
EnumDeclaration -> EnumValue
Diffstat (limited to 'Types.cpp')
-rw-r--r-- | Types.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -952,7 +952,7 @@ MemberList const& TypeType::getMembers() const else if (m_actualType->getCategory() == Category::Enum) { EnumDefinition const& enumDef = dynamic_cast<EnumType const&>(*m_actualType).getEnumDefinition(); - for (ASTPointer<EnumDeclaration> const& enumValue: enumDef.getMembers()) + for (ASTPointer<EnumvValue> const& enumValue: enumDef.getMembers()) members.insert(make_pair(enumValue->getName(), make_shared<EnumType>(enumDef))); m_members.reset(new MemberList(members)); } |