aboutsummaryrefslogtreecommitdiffstats
path: root/AST.h
diff options
context:
space:
mode:
authorGav Wood <g@ethdev.com>2015-06-09 22:18:10 +0800
committerGav Wood <g@ethdev.com>2015-06-09 22:18:10 +0800
commit99fed1aba7eb2af17d7a75b5578f73fa969b46df (patch)
tree5c84dd4aba7b86591506e2c282b7d21130952c0b /AST.h
parentc2a9419e495e931a825e8146aec49ffc34e44954 (diff)
parent8061002b9cda8b5741bcbbb4248b1369bd10eb29 (diff)
downloaddexon-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 'AST.h')
-rw-r--r--AST.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/AST.h b/AST.h
index 578709c1..b3984840 100644
--- a/AST.h
+++ b/AST.h
@@ -503,7 +503,7 @@ public:
/// Returns the declared or inferred type. Can be an empty pointer if no type was explicitly
/// declared and there is no assignment to the variable that fixes the type.
- TypePointer getType(ContractDefinition const* = nullptr) const { return m_type; }
+ TypePointer getType(ContractDefinition const* = nullptr) const override { return m_type; }
void setType(std::shared_ptr<Type const> const& _type) { m_type = _type; }
virtual bool isLValue() const override;