mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
Make destructors virtual in base classes and only there.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34360 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8c0194ae78
commit
cea7948698
@ -34,7 +34,7 @@ public:
|
||||
///
|
||||
InsetBibitem(Buffer *, InsetCommandParams const &);
|
||||
///
|
||||
virtual ~InsetBibitem();
|
||||
~InsetBibitem();
|
||||
///
|
||||
static ParamInfo const & findInfo(std::string const &);
|
||||
///
|
||||
|
@ -37,7 +37,7 @@ public:
|
||||
///
|
||||
InsetCollapsable(InsetCollapsable const & rhs);
|
||||
///
|
||||
~InsetCollapsable();
|
||||
virtual ~InsetCollapsable();
|
||||
///
|
||||
InsetCollapsable * asInsetCollapsable() { return this; }
|
||||
///
|
||||
|
@ -40,7 +40,7 @@ public:
|
||||
///
|
||||
InsetCommand(InsetCommand const & rhs);
|
||||
///
|
||||
~InsetCommand();
|
||||
virtual ~InsetCommand();
|
||||
|
||||
/// returns true if params are successfully read
|
||||
static bool string2params(std::string const &, std::string const & name,
|
||||
|
Loading…
x
Reference in New Issue
Block a user