summaryrefslogtreecommitdiffstats
path: root/runtime/class_linker_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/class_linker_test.cc')
-rw-r--r--runtime/class_linker_test.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/class_linker_test.cc b/runtime/class_linker_test.cc
index 28ed6c4..ebf02fe 100644
--- a/runtime/class_linker_test.cc
+++ b/runtime/class_linker_test.cc
@@ -339,9 +339,8 @@ class ClassLinkerTest : public CommonTest {
}
}
- static mirror::Object* TestRootVisitor(mirror::Object* root, void*, uint32_t, RootType) {
- EXPECT_TRUE(root != NULL);
- return root;
+ static void TestRootVisitor(mirror::Object** root, void*, uint32_t, RootType) {
+ EXPECT_TRUE(*root != NULL);
}
};