add virtual destructor to iseekstream

This commit is contained in:
tqchen
2015-03-14 00:20:37 -07:00
parent f165ffbc95
commit 1e23af2adc
2 changed files with 3 additions and 1 deletions

View File

@@ -19,6 +19,8 @@ namespace utils {
/*! \brief interface of i/o stream that support seek */
class ISeekStream: public IStream {
public:
// virtual destructor
virtual ~ISeekStream(void) {}
/*! \brief seek to certain position of the file */
virtual void Seek(size_t pos) = 0;
/*! \brief tell the position of the stream */