summaryrefslogtreecommitdiff
path: root/src/node_stat_watcher.cc
diff options
context:
space:
mode:
authorTrevor Norris <trev.norris@gmail.com>2014-01-20 13:33:16 -0800
committerTrevor Norris <trev.norris@gmail.com>2014-02-05 13:30:56 -0800
commit4a9af3fecb4baf677f265e2e6e34a674a53810a6 (patch)
tree3e96cf57bc7f9d47ebe7a177acc7a2d18dc13bdd /src/node_stat_watcher.cc
parentc9abb59638bc4bc64176ded80ebdc05d066ad0db (diff)
downloadnode-new-4a9af3fecb4baf677f265e2e6e34a674a53810a6.tar.gz
async_wrap: add provider types/pass to constructor
These will be used to allow users to filter for which types of calls they wish their callbacks to run. Signed-off-by: Timothy J Fontaine <tjfontaine@gmail.com>
Diffstat (limited to 'src/node_stat_watcher.cc')
-rw-r--r--src/node_stat_watcher.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_stat_watcher.cc b/src/node_stat_watcher.cc
index e71ca430cd..fadce4557b 100644
--- a/src/node_stat_watcher.cc
+++ b/src/node_stat_watcher.cc
@@ -66,7 +66,7 @@ static void Delete(uv_handle_t* handle) {
StatWatcher::StatWatcher(Environment* env, Local<Object> wrap)
- : AsyncWrap(env, wrap),
+ : AsyncWrap(env, wrap, AsyncWrap::PROVIDER_STATWATCHER),
watcher_(new uv_fs_poll_t) {
MakeWeak<StatWatcher>(this);
uv_fs_poll_init(env->event_loop(), watcher_);