src: remove redundant void
PR-URL: https://github.com/nodejs/node/pull/26003 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
parent
69714ab1c4
commit
ba4df925eb
@ -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);
|
||||
|
@ -81,7 +81,7 @@ class ObjectWrap {
|
||||
}
|
||||
|
||||
|
||||
inline void MakeWeak(void) {
|
||||
inline void MakeWeak() {
|
||||
persistent().SetWeak(this, WeakCallback, v8::WeakCallbackType::kParameter);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user