Merge pull request #911 from shuzhang1989/fix_envhdfs_virtual_func

fix vfunc inconsistency between env_hdfs and env
main
Islam AbdelRahman 9 years ago
commit ab5a9a66d2
  1. 4
      hdfs/env_hdfs.h

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

Loading…
Cancel
Save