mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
struct with virtual functions should have virtual destructor
This commit is contained in:
parent
8ed7f52584
commit
43d75a0796
@ -45,7 +45,7 @@ struct StartTag
|
||||
bool keepempty = false)
|
||||
: tag_(tag), attr_(attr), keepempty_(keepempty) {}
|
||||
///
|
||||
~StartTag() {}
|
||||
virtual ~StartTag() {}
|
||||
/// <tag_ attr_>
|
||||
virtual docstring writeTag() const;
|
||||
/// </tag_>
|
||||
|
Loading…
Reference in New Issue
Block a user