fix inconsistency between env_hdfs and env

This commit is contained in:
Shu Zhang 2015-12-29 19:51:49 -08:00
parent edf1cd497f
commit a41f68ac22

View File

@ -101,7 +101,7 @@ class HdfsEnv : public Env {
std::shared_ptr<Logger>* result);
virtual void Schedule(void (*function)(void* arg), void* arg,
Priority pri = LOW, void* tag = nullptr) {
Priority pri = LOW, void* tag = nullptr, void (*unschedFunction)(void* arg) = 0) {
posixEnv->Schedule(function, arg, pri, tag);
}