Add virtual destructor in LValue class.

This commit is contained in:
Alexander Arlt 2018-04-24 23:39:25 +02:00
parent 3d89d8b126
commit 3ec667f59b

View File

@ -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,