Skip to content

Commit

Permalink
src: remove redundant void
Browse files Browse the repository at this point in the history
PR-URL: #26003
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
gengjiawen authored and targos committed Feb 10, 2019
1 parent 614bb9f commit 24d9e9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/inspector_socket.cc
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ class WsHandler : public ProtocolHandler {
}

private:
using Callback = void (WsHandler::*)(void);
using Callback = void (WsHandler::*)();

static void OnCloseFrameWritten(uv_write_t* req, int status) {
WriteRequest* wr = WriteRequest::from_write_req(req);
Expand Down
2 changes: 1 addition & 1 deletion src/node_object_wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class ObjectWrap {
}


inline void MakeWeak(void) {
inline void MakeWeak() {
persistent().SetWeak(this, WeakCallback, v8::WeakCallbackType::kParameter);
}

Expand Down

0 comments on commit 24d9e9c

Please sign in to comment.