mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +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