diff options
| author | 2015-07-29 17:16:36 +0000 | |
|---|---|---|
| committer | 2015-07-29 17:16:36 +0000 | |
| commit | 57c0f3f3ea153d008a8e8ac32b66cceee682d412 (patch) | |
| tree | fac2506d92f67c1fe6c2c8d285e0b16db440823f /runtime/class_table.cc | |
| parent | 8c4113b81eda9b2eab3761583f0d9e678b0e6bdd (diff) | |
| parent | e0671ce5a6cb34e44e3afefa8e29c0c3e30d2855 (diff) | |
Merge "Clean up class visitors"
Diffstat (limited to 'runtime/class_table.cc')
| -rw-r--r-- | runtime/class_table.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/class_table.cc b/runtime/class_table.cc index f775235505..c245d4e780 100644 --- a/runtime/class_table.cc +++ b/runtime/class_table.cc @@ -71,10 +71,10 @@ void ClassTable::VisitRoots(RootVisitor* visitor, VisitRootFlags flags ATTRIBUTE } } -bool ClassTable::Visit(ClassVisitor* visitor, void* arg) { +bool ClassTable::Visit(ClassVisitor* visitor) { for (ClassSet& class_set : classes_) { for (GcRoot<mirror::Class>& root : class_set) { - if (!visitor(root.Read(), arg)) { + if (!visitor->Visit(root.Read())) { return false; } } |