mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add virtual destructor in LValue class.
This commit is contained in:
parent
3d89d8b126
commit
3ec667f59b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user