aboutsummaryrefslogtreecommitdiffstats
path: root/Types.h
diff options
context:
space:
mode:
authorPaweł Bylica <chfast@gmail.com>2015-06-08 18:13:44 +0800
committerPaweł Bylica <chfast@gmail.com>2015-06-08 18:13:44 +0800
commit8061002b9cda8b5741bcbbb4248b1369bd10eb29 (patch)
tree72a5ae6e2d63b1653669d1d8a34f86b7d215bd73 /Types.h
parentcddceb2b4f77e828a5ef5aa218e36afeef7bb30b (diff)
downloaddexon-solidity-8061002b9cda8b5741bcbbb4248b1369bd10eb29.tar.gz
dexon-solidity-8061002b9cda8b5741bcbbb4248b1369bd10eb29.tar.zst
dexon-solidity-8061002b9cda8b5741bcbbb4248b1369bd10eb29.zip
Add missing override specifiers.
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 3ec92539..17d30ea6 100644
--- a/Types.h
+++ b/Types.h
@@ -407,7 +407,7 @@ public:
virtual TypePointer unaryOperatorResult(Token::Value _operator) const override;
virtual bool operator==(const Type& _other) const override;
virtual unsigned getCalldataEncodedSize(bool _padded) const override;
- virtual bool isDynamicallySized() const { return m_hasDynamicLength; }
+ virtual bool isDynamicallySized() const override { return m_hasDynamicLength; }
virtual u256 getStorageSize() const override;
virtual unsigned getSizeOnStack() const override;
virtual std::string toString() const override;
@@ -820,7 +820,7 @@ public:
return TypePointer();
}
- virtual bool operator==(Type const& _other) const;
+ virtual bool operator==(Type const& _other) const override;
virtual bool canBeStored() const override { return false; }
virtual bool canLiveOutsideStorage() const override { return true; }
virtual unsigned getSizeOnStack() const override { return 0; }