inteface changing

This commit is contained in:
tqchen 2015-03-29 22:00:37 -07:00
parent 684ea0ad26
commit 732d8c33d1
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ class StreamAdapter : public IStream {
*/
inline IStream *CreateStream(const char *uri, const char *mode) {
#if RABIT_USE_WORMHOLE
return new StreamAdapter<dmlc::ISeekStream>(dmlc::ISeekStream::Create(uri, mode));
return new StreamAdapter<dmlc::IStream>(dmlc::IStream::Create(uri, mode));
#else
using namespace std;
if (!strncmp(uri, "file://", 7)) {

View File

@ -18,7 +18,7 @@
#endif
#if RABIT_USE_WORMHOLE
#include <io.h>
#include <dmlc/io.h>
#endif
/*! \brief io interface */
namespace rabit {