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:
gengjiawen 2019-02-08 09:34:46 +08:00 committed by Anna Henningsen
parent 69714ab1c4
commit ba4df925eb
No known key found for this signature in database
GPG Key ID: 9C63F3A6CD2AD8F9
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -81,7 +81,7 @@ class ObjectWrap {
}
inline void MakeWeak(void) {
inline void MakeWeak() {
persistent().SetWeak(this, WeakCallback, v8::WeakCallbackType::kParameter);
}