summaryrefslogtreecommitdiffstats
path: root/runtime/jdwp/jdwp_socket.cc
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2013-07-17 21:31:49 -0700
committerBrian Carlstrom <bdc@google.com>2013-07-17 21:46:12 -0700
commit93ba893c20532990a430741e0a97212900094e8c (patch)
tree019990a1957562c1f573c77297df5923cce98f47 /runtime/jdwp/jdwp_socket.cc
parentb1eba213afaf7fa6445de863ddc9680ab99762ea (diff)
downloadart-93ba893c20532990a430741e0a97212900094e8c.zip
art-93ba893c20532990a430741e0a97212900094e8c.tar.gz
art-93ba893c20532990a430741e0a97212900094e8c.tar.bz2
Fix cpplint runtime/explicit issues
Change-Id: I352ba0b427f1ff9b22887693952b180eae0839ba
Diffstat (limited to 'runtime/jdwp/jdwp_socket.cc')
-rw-r--r--runtime/jdwp/jdwp_socket.cc2
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;
}