diff options
Diffstat (limited to 'runtime/jdwp/jdwp_socket.cc')
-rw-r--r-- | runtime/jdwp/jdwp_socket.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/jdwp/jdwp_socket.cc b/runtime/jdwp/jdwp_socket.cc index 08b4859..87706a4 100644 --- a/runtime/jdwp/jdwp_socket.cc +++ b/runtime/jdwp/jdwp_socket.cc @@ -46,7 +46,7 @@ struct JdwpSocketState : public JdwpNetStateBase { uint16_t listenPort; int listenSock; /* listen for connection from debugger */ - JdwpSocketState(JdwpState* state) : JdwpNetStateBase(state) { + explicit JdwpSocketState(JdwpState* state) : JdwpNetStateBase(state) { listenPort = 0; listenSock = -1; } |