aboutsummaryrefslogtreecommitdiffstats
path: root/Types.h
diff options
context:
space:
mode:
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 72647017..b0d95d29 100644
--- a/Types.h
+++ b/Types.h
@@ -190,7 +190,7 @@ public:
unsigned getMemberCount() const;
/// Returns the index of the member with name @a _name or unsigned(-1) if it does not exist.
unsigned memberNameToIndex(std::string const& _name) const;
- VariableDeclaration const& getMemberByIndex(unsigned _index) const;
+ std::shared_ptr<Type const> const& getMemberByIndex(unsigned _index) const;
u256 getStorageOffsetOfMember(unsigned _index) const;
private: