diff options
author | Gav Wood <g@ethdev.com> | 2015-06-09 22:18:10 +0800 |
---|---|---|
committer | Gav Wood <g@ethdev.com> | 2015-06-09 22:18:10 +0800 |
commit | 99fed1aba7eb2af17d7a75b5578f73fa969b46df (patch) | |
tree | 5c84dd4aba7b86591506e2c282b7d21130952c0b /Types.h | |
parent | c2a9419e495e931a825e8146aec49ffc34e44954 (diff) | |
parent | 8061002b9cda8b5741bcbbb4248b1369bd10eb29 (diff) | |
download | dexon-solidity-99fed1aba7eb2af17d7a75b5578f73fa969b46df.tar dexon-solidity-99fed1aba7eb2af17d7a75b5578f73fa969b46df.tar.gz dexon-solidity-99fed1aba7eb2af17d7a75b5578f73fa969b46df.tar.bz2 dexon-solidity-99fed1aba7eb2af17d7a75b5578f73fa969b46df.tar.lz dexon-solidity-99fed1aba7eb2af17d7a75b5578f73fa969b46df.tar.xz dexon-solidity-99fed1aba7eb2af17d7a75b5578f73fa969b46df.tar.zst dexon-solidity-99fed1aba7eb2af17d7a75b5578f73fa969b46df.zip |
Merge pull request #2112 from chfast/refactor_move_override
Pessimising moves and missing overrides
Diffstat (limited to 'Types.h')
-rw-r--r-- | Types.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |