summaryrefslogtreecommitdiff
path: root/runtime/thread.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/thread.cc')
-rw-r--r--runtime/thread.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/thread.cc b/runtime/thread.cc
index 269d58e036..6114c63fbe 100644
--- a/runtime/thread.cc
+++ b/runtime/thread.cc
@@ -1256,7 +1256,7 @@ void Thread::NotifyLocked(Thread* self) {
class CountStackDepthVisitor : public StackVisitor {
public:
- CountStackDepthVisitor(Thread* thread)
+ explicit CountStackDepthVisitor(Thread* thread)
SHARED_LOCKS_REQUIRED(Locks::mutator_lock_)
: StackVisitor(thread, NULL),
depth_(0), skip_depth_(0), skipping_(true) {}