diff options
author | 2013-07-17 21:31:49 -0700 | |
---|---|---|
committer | 2013-07-17 21:46:12 -0700 | |
commit | 93ba893c20532990a430741e0a97212900094e8c (patch) | |
tree | 019990a1957562c1f573c77297df5923cce98f47 /runtime/debugger.cc | |
parent | b1eba213afaf7fa6445de863ddc9680ab99762ea (diff) |
Fix cpplint runtime/explicit issues
Change-Id: I352ba0b427f1ff9b22887693952b180eae0839ba
Diffstat (limited to 'runtime/debugger.cc')
-rw-r--r-- | runtime/debugger.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/debugger.cc b/runtime/debugger.cc index fe726aa6bd..5a31c87935 100644 --- a/runtime/debugger.cc +++ b/runtime/debugger.cc @@ -1814,7 +1814,7 @@ void Dbg::GetChildThreadGroups(JDWP::ObjectId thread_group_id, std::vector<JDWP: static int GetStackDepth(Thread* thread) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { struct CountStackDepthVisitor : public StackVisitor { - CountStackDepthVisitor(Thread* thread) + explicit CountStackDepthVisitor(Thread* thread) : StackVisitor(thread, NULL), depth(0) {} // TODO: Enable annotalysis. We know lock is held in constructor, but abstraction confuses @@ -2458,7 +2458,7 @@ JDWP::JdwpError Dbg::ConfigureStep(JDWP::ObjectId thread_id, JDWP::JdwpStepSize // struct SingleStepStackVisitor : public StackVisitor { - SingleStepStackVisitor(Thread* thread) + explicit SingleStepStackVisitor(Thread* thread) EXCLUSIVE_LOCKS_REQUIRED(Locks::breakpoint_lock_) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) : StackVisitor(thread, NULL) { |