diff options
author | Anna Henningsen <anna@addaleax.net> | 2018-05-11 16:46:41 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2018-05-14 19:09:23 +0300 |
commit | bd6dc9ebab058be28f59de33e05e036c91951ba6 (patch) | |
tree | bd5a35c7f6c2c5d3a9275608c095055b9612d7f9 /src/inspector_socket_server.cc | |
parent | 12b0159adf88a46b6ea4ffc1f8b910ebb56fecb9 (diff) |
src: replace `template<` → `template <`
PR-URL: https://github.com/nodejs/node/pull/20675
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'src/inspector_socket_server.cc')
-rw-r--r-- | src/inspector_socket_server.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspector_socket_server.cc b/src/inspector_socket_server.cc index e890f66a38b..42082c9c849 100644 --- a/src/inspector_socket_server.cc +++ b/src/inspector_socket_server.cc @@ -261,7 +261,7 @@ class ServerSocket { private: explicit ServerSocket(InspectorSocketServer* server) : tcp_socket_(uv_tcp_t()), server_(server), port_(-1) {} - template<typename UvHandle> + template <typename UvHandle> static ServerSocket* FromTcpSocket(UvHandle* socket) { return node::ContainerOf(&ServerSocket::tcp_socket_, reinterpret_cast<uv_tcp_t*>(socket)); |