fix compiler error

This commit is contained in:
tqchen 2014-08-29 18:44:02 -07:00
parent ce2d34ecd4
commit d0e27482ef
2 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,7 @@ struct RowBatchPage {
utils::Assert(data_ != NULL, "fail to allocate row batch page");
this->Clear();
}
~BinaryPage(void) {
~RowBatchPage(void) {
if (data_ != NULL) delete [] data_;
}
/*!

View File

@ -100,6 +100,7 @@ class ISeekStream: public IStream {
/*! \brief implementation of file i/o stream */
class FileStream : public ISeekStream {
public:
explicit FileStream(void) {}
explicit FileStream(FILE *fp) {
this->fp = fp;
}