summaryrefslogtreecommitdiff
path: root/src/stream_wrap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream_wrap.cc')
-rw-r--r--src/stream_wrap.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/stream_wrap.cc b/src/stream_wrap.cc
index ddeb74d809..2dea245fd1 100644
--- a/src/stream_wrap.cc
+++ b/src/stream_wrap.cc
@@ -97,8 +97,7 @@ LibuvStreamWrap::LibuvStreamWrap(Environment* env,
void LibuvStreamWrap::AddMethods(Environment* env,
- v8::Local<v8::FunctionTemplate> target,
- int flags) {
+ v8::Local<v8::FunctionTemplate> target) {
Local<FunctionTemplate> get_write_queue_size =
FunctionTemplate::New(env->isolate(),
GetWriteQueueSize,
@@ -110,7 +109,7 @@ void LibuvStreamWrap::AddMethods(Environment* env,
Local<FunctionTemplate>(),
static_cast<PropertyAttribute>(ReadOnly | DontDelete));
env->SetProtoMethod(target, "setBlocking", SetBlocking);
- StreamBase::AddMethods<LibuvStreamWrap>(env, target, flags);
+ StreamBase::AddMethods<LibuvStreamWrap>(env, target);
}