aboutsummaryrefslogtreecommitdiffstats
path: root/Types.h
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-02-07 03:57:04 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-02-07 03:57:04 +0800
commitafe1d9a592446dd403b9ed349529098b71309756 (patch)
tree61e086cac063ea0461d094160729d3d9641ea31b /Types.h
parentf6586b81398d7670fc8a99b80e0d6342179e1907 (diff)
downloaddexon-solidity-afe1d9a592446dd403b9ed349529098b71309756.tar
dexon-solidity-afe1d9a592446dd403b9ed349529098b71309756.tar.gz
dexon-solidity-afe1d9a592446dd403b9ed349529098b71309756.tar.bz2
dexon-solidity-afe1d9a592446dd403b9ed349529098b71309756.tar.lz
dexon-solidity-afe1d9a592446dd403b9ed349529098b71309756.tar.xz
dexon-solidity-afe1d9a592446dd403b9ed349529098b71309756.tar.zst
dexon-solidity-afe1d9a592446dd403b9ed349529098b71309756.zip
Small fixes in Types and ExpressionCompiler
Diffstat (limited to 'Types.h')
-rw-r--r--Types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Types.h b/Types.h
index 677e5e49..fcd6d956 100644
--- a/Types.h
+++ b/Types.h
@@ -131,7 +131,7 @@ public:
virtual bool isValueType() const { return false; }
virtual unsigned getSizeOnStack() const { return 1; }
/// @returns the real type of some types, like e.g: IntegerConstant
- virtual TypePointer getRealType() const { return TypePointer(); }
+ virtual TypePointer getRealType() const { return shared_from_this(); }
/// Returns the list of all members of this type. Default implementation: no members.
virtual MemberList const& getMembers() const { return EmptyMemberList; }