aboutsummaryrefslogtreecommitdiffstats
path: root/Types.h
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-02-10 16:52:19 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-02-10 16:52:19 +0800
commit82c5fb32458309866033e12b8930a450753bc0bd (patch)
tree1657a824ff350199cb7454944abc280e35d61f28 /Types.h
parent943407e0fee2999ddeadb12fce417885d3fa59b7 (diff)
downloaddexon-solidity-82c5fb32458309866033e12b8930a450753bc0bd.tar.gz
dexon-solidity-82c5fb32458309866033e12b8930a450753bc0bd.tar.zst
dexon-solidity-82c5fb32458309866033e12b8930a450753bc0bd.zip
Addressing issues in Enum style fix
Diffstat (limited to 'Types.h')
-rw-r--r--Types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Types.h b/Types.h
index 4d8a9aed..8814b266 100644
--- a/Types.h
+++ b/Types.h
@@ -78,7 +78,7 @@ public:
{
Integer, IntegerConstant, Bool, Real,
String, Contract, Struct, Function,
- Mapping, Void, Type, Modifier, Magic
+ Mapping, Void, TypeType, Modifier, Magic
};
///@{
@@ -478,7 +478,7 @@ public:
class TypeType: public Type
{
public:
- virtual Category getCategory() const override { return Category::Type; }
+ virtual Category getCategory() const override { return Category::TypeType; }
explicit TypeType(TypePointer const& _actualType, ContractDefinition const* _currentContract = nullptr):
m_actualType(_actualType), m_currentContract(_currentContract) {}
TypePointer const& getActualType() const { return m_actualType; }