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:
Vincent van Ravesteijn 2010-05-03 21:43:46 +00:00
parent 8c0194ae78
commit cea7948698
3 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ public:
///
InsetBibitem(Buffer *, InsetCommandParams const &);
///
virtual ~InsetBibitem();
~InsetBibitem();
///
static ParamInfo const & findInfo(std::string const &);
///

View File

@ -37,7 +37,7 @@ public:
///
InsetCollapsable(InsetCollapsable const & rhs);
///
~InsetCollapsable();
virtual ~InsetCollapsable();
///
InsetCollapsable * asInsetCollapsable() { return this; }
///

View File

@ -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,