aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-04-25 15:51:40 +0800
committerGitHub <noreply@github.com>2018-04-25 15:51:40 +0800
commit81cca26f79bfccb4dfdf5111aea2eef184036230 (patch)
tree23f9383648135b29341386672272b45c17ff8590
parent3d89d8b126b7a3c9147dc026d877e9fcc23c633f (diff)
parent3ec667f59bac067b45cac8b542e135ff4c02d12f (diff)
downloaddexon-solidity-81cca26f79bfccb4dfdf5111aea2eef184036230.tar
dexon-solidity-81cca26f79bfccb4dfdf5111aea2eef184036230.tar.gz
dexon-solidity-81cca26f79bfccb4dfdf5111aea2eef184036230.tar.bz2
dexon-solidity-81cca26f79bfccb4dfdf5111aea2eef184036230.tar.lz
dexon-solidity-81cca26f79bfccb4dfdf5111aea2eef184036230.tar.xz
dexon-solidity-81cca26f79bfccb4dfdf5111aea2eef184036230.tar.zst
dexon-solidity-81cca26f79bfccb4dfdf5111aea2eef184036230.zip
Merge pull request #3991 from aarlt/lvalue-virtual-destructor
Add virtual destructor in LValue class.
-rw-r--r--libsolidity/codegen/LValue.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/codegen/LValue.h b/libsolidity/codegen/LValue.h
index f8b68362..c576f9de 100644
--- a/libsolidity/codegen/LValue.h
+++ b/libsolidity/codegen/LValue.h
@@ -49,6 +49,7 @@ protected:
m_context(_compilerContext), m_dataType(_dataType) {}
public:
+ virtual ~LValue() {}
/// @returns the number of stack slots occupied by the lvalue reference
virtual unsigned sizeOnStack() const { return 1; }
/// Copies the value of the current lvalue to the top of the stack and, if @a _remove is true,