Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
remove functions instead of deprecating
  • Loading branch information
danbev committed Apr 20, 2017
commit a43eb344e84b4bd78d2e6fb0f8b46811e3d9aa1a
10 changes: 0 additions & 10 deletions src/stream_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@ class ShutdownWrap : public ReqWrap<uv_shutdown_t>,
Wrap(req_wrap_obj, this);
}

NODE_DEPRECATED("Use lambda expression instead",
static void NewShutdownWrap(const v8::FunctionCallbackInfo<v8::Value>& args) {
CHECK(args.IsConstructCall());
})

static ShutdownWrap* from_req(uv_shutdown_t* req) {
return ContainerOf(&ShutdownWrap::req_, req);
}
Expand All @@ -84,11 +79,6 @@ class WriteWrap: public ReqWrap<uv_write_t>,

size_t self_size() const override { return storage_size_; }

NODE_DEPRECATED("Use lambda expression instead",
static void NewWriteWrap(const v8::FunctionCallbackInfo<v8::Value>& args) {
CHECK(args.IsConstructCall());
})

static WriteWrap* from_req(uv_write_t* req) {
return ContainerOf(&WriteWrap::req_, req);
}
Expand Down