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_io.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_io.cc')
-rw-r--r-- | src/inspector_io.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inspector_io.cc b/src/inspector_io.cc index 38d88d7ab89..e6ceaf5b736 100644 --- a/src/inspector_io.cc +++ b/src/inspector_io.cc @@ -23,7 +23,7 @@ using AsyncAndAgent = std::pair<uv_async_t, Agent*>; using v8_inspector::StringBuffer; using v8_inspector::StringView; -template<typename Transport> +template <typename Transport> using TransportAndIo = std::pair<Transport*, InspectorIo*>; std::string ScriptPath(uv_loop_t* loop, const std::string& script_name) { @@ -284,7 +284,7 @@ void InspectorIo::IoThreadAsyncCb(uv_async_t* async) { } } -template<typename Transport> +template <typename Transport> void InspectorIo::ThreadMain() { uv_loop_t loop; loop.data = nullptr; |