mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +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)
|
bool keepempty = false)
|
||||||
: tag_(tag), attr_(attr), keepempty_(keepempty) {}
|
: tag_(tag), attr_(attr), keepempty_(keepempty) {}
|
||||||
///
|
///
|
||||||
~StartTag() {}
|
virtual ~StartTag() {}
|
||||||
/// <tag_ attr_>
|
/// <tag_ attr_>
|
||||||
virtual docstring writeTag() const;
|
virtual docstring writeTag() const;
|
||||||
/// </tag_>
|
/// </tag_>
|
||||||
|
Loading…
Reference in New Issue
Block a user