aboutsummaryrefslogtreecommitdiffstats
path: root/Types.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-02-14 00:22:53 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-02-14 06:16:14 +0800
commit52808f67fa608b62d6d9ee81b266edb183e13d48 (patch)
treee03287f416a94d956a1f0d99cafe0f32c92075b0 /Types.cpp
parentb1b6b63d6be34156729aa12e55e6bed0827967be (diff)
downloaddexon-solidity-52808f67fa608b62d6d9ee81b266edb183e13d48.tar.gz
dexon-solidity-52808f67fa608b62d6d9ee81b266edb183e13d48.tar.zst
dexon-solidity-52808f67fa608b62d6d9ee81b266edb183e13d48.zip
EnumDeclaration -> EnumValue
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 709002ba..df62773a 100644
--- a/Types.cpp
+++ b/Types.cpp
@@ -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));
}