aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/Types.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity/Types.h')
-rw-r--r--libsolidity/Types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsolidity/Types.h b/libsolidity/Types.h
index 11218b7a..60281723 100644
--- a/libsolidity/Types.h
+++ b/libsolidity/Types.h
@@ -501,9 +501,11 @@ public:
bool isString() const { return m_arrayKind == ArrayKind::String; }
TypePointer const& baseType() const { solAssert(!!m_baseType, ""); return m_baseType;}
u256 const& length() const { return m_length; }
+ u256 memorySize() const;
TypePointer copyForLocation(DataLocation _location, bool _isPointer) const override;
+
private:
/// String is interpreted as a subtype of Bytes.
enum class ArrayKind { Ordinary, Bytes, String };