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
This commit is contained in:
Bo Peng 2006-10-28 15:14:28 +00:00
parent 3c296efd19
commit b884dee79e

View File

@ -40,6 +40,9 @@ namespace lyx {
class SessionSection : boost::noncopyable { class SessionSection : boost::noncopyable {
public: public:
///
virtual ~SessionSection() {}
/// read section from std::istream /// read section from std::istream
virtual void read(std::istream & is) = 0; virtual void read(std::istream & is) = 0;