From b884dee79e469c42a567d90dd3c870a8be589d02 Mon Sep 17 00:00:00 2001 From: Bo Peng Date: Sat, 28 Oct 2006 15:14:28 +0000 Subject: [PATCH] src/session.h: add virtual destructor to stop compiler complaints. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15591 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/session.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/session.h b/src/session.h index 7e607366dc..e3cfed8285 100644 --- a/src/session.h +++ b/src/session.h @@ -40,6 +40,9 @@ namespace lyx { class SessionSection : boost::noncopyable { public: + /// + virtual ~SessionSection() {} + /// read section from std::istream virtual void read(std::istream & is) = 0; -- 2.39.2