summaryrefslogtreecommitdiff
path: root/src/handle_wrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/handle_wrap.h')
-rw-r--r--src/handle_wrap.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/handle_wrap.h b/src/handle_wrap.h
index 951b9386f5..c77ec77f1a 100644
--- a/src/handle_wrap.h
+++ b/src/handle_wrap.h
@@ -70,7 +70,9 @@ class HandleWrap {
// Using double underscore due to handle_ member in tcp_wrap. Probably
// tcp_wrap should rename it's member to 'handle'.
uv_handle_t* handle__;
- bool unref_;
+ unsigned int flags_;
+
+ static const unsigned int kUnref = 1;
};