aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorAlexander Arlt <alexander.arlt@arlt-labs.com>2018-04-25 05:39:25 +0800
committerAlexander Arlt <alexander.arlt@arlt-labs.com>2018-04-25 05:39:25 +0800
commit3ec667f59bac067b45cac8b542e135ff4c02d12f (patch)
tree23f9383648135b29341386672272b45c17ff8590 /libsolidity
parent3d89d8b126b7a3c9147dc026d877e9fcc23c633f (diff)
downloaddexon-solidity-3ec667f59bac067b45cac8b542e135ff4c02d12f.tar.gz
dexon-solidity-3ec667f59bac067b45cac8b542e135ff4c02d12f.tar.zst
dexon-solidity-3ec667f59bac067b45cac8b542e135ff4c02d12f.zip
Add virtual destructor in LValue class.
Diffstat (limited to 'libsolidity')
-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,