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 <[email protected]>
Reviewed-By: Daniel Bevenius <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
gengjiawen authored and addaleax committed Feb 10, 2019
1 parent 69714ab commit ba4df92
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 @@ -363,7 +363,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 ba4df92

Please sign in to comment.