From 3ec667f59bac067b45cac8b542e135ff4c02d12f Mon Sep 17 00:00:00 2001 From: Alexander Arlt Date: Tue, 24 Apr 2018 23:39:25 +0200 Subject: Add virtual destructor in LValue class. --- libsolidity/codegen/LValue.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libsolidity') 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, -- cgit v1.2.3