diff options
author | Brian Carlstrom <bdc@google.com> | 2013-07-17 21:31:49 -0700 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2013-07-17 21:46:12 -0700 |
commit | 93ba893c20532990a430741e0a97212900094e8c (patch) | |
tree | 019990a1957562c1f573c77297df5923cce98f47 /runtime/jdwp | |
parent | b1eba213afaf7fa6445de863ddc9680ab99762ea (diff) | |
download | art-93ba893c20532990a430741e0a97212900094e8c.zip art-93ba893c20532990a430741e0a97212900094e8c.tar.gz art-93ba893c20532990a430741e0a97212900094e8c.tar.bz2 |
Fix cpplint runtime/explicit issues
Change-Id: I352ba0b427f1ff9b22887693952b180eae0839ba
Diffstat (limited to 'runtime/jdwp')
-rw-r--r-- | runtime/jdwp/jdwp_adb.cc | 2 | ||||
-rw-r--r-- | runtime/jdwp/jdwp_priv.h | 2 | ||||
-rw-r--r-- | runtime/jdwp/jdwp_socket.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/runtime/jdwp/jdwp_adb.cc b/runtime/jdwp/jdwp_adb.cc index 9652f60..9b9fe4c 100644 --- a/runtime/jdwp/jdwp_adb.cc +++ b/runtime/jdwp/jdwp_adb.cc @@ -54,7 +54,7 @@ namespace JDWP { struct JdwpAdbState : public JdwpNetStateBase { public: - JdwpAdbState(JdwpState* state) : JdwpNetStateBase(state) { + explicit JdwpAdbState(JdwpState* state) : JdwpNetStateBase(state) { control_sock_ = -1; shutting_down_ = false; diff --git a/runtime/jdwp/jdwp_priv.h b/runtime/jdwp/jdwp_priv.h index ab89339..557632c 100644 --- a/runtime/jdwp/jdwp_priv.h +++ b/runtime/jdwp/jdwp_priv.h @@ -53,7 +53,7 @@ bool InitAdbTransport(JdwpState*, const JdwpOptions*); */ class JdwpNetStateBase { public: - JdwpNetStateBase(JdwpState*); + explicit JdwpNetStateBase(JdwpState*); virtual ~JdwpNetStateBase(); virtual bool Accept() = 0; 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; } |