From a41f68ac228ecaa92efed26975cffcc034ed58cf Mon Sep 17 00:00:00 2001 From: Shu Zhang Date: Tue, 29 Dec 2015 19:51:49 -0800 Subject: [PATCH] fix inconsistency between env_hdfs and env --- hdfs/env_hdfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hdfs/env_hdfs.h b/hdfs/env_hdfs.h index a2543dfd3..33f9f38e2 100644 --- a/hdfs/env_hdfs.h +++ b/hdfs/env_hdfs.h @@ -101,7 +101,7 @@ class HdfsEnv : public Env { std::shared_ptr* 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); }