diff options
author | Brian Carlstrom <bdc@google.com> | 2013-07-17 21:52:25 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-07-17 21:52:25 -0700 |
commit | b267c89acd0fcda0e8e2a9eeaeeed9ee048d1abc (patch) | |
tree | 6c6cdd913669f09eff4c3aa2b820a39ed0f3a937 /runtime/jdwp | |
parent | 397f477582243bdffed603a73ff5a06ee295d7fb (diff) | |
parent | 93ba893c20532990a430741e0a97212900094e8c (diff) | |
download | art-b267c89acd0fcda0e8e2a9eeaeeed9ee048d1abc.zip art-b267c89acd0fcda0e8e2a9eeaeeed9ee048d1abc.tar.gz art-b267c89acd0fcda0e8e2a9eeaeeed9ee048d1abc.tar.bz2 |
am 93ba893c: Fix cpplint runtime/explicit issues
* commit '93ba893c20532990a430741e0a97212900094e8c':
Fix cpplint runtime/explicit issues
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; } |