summaryrefslogtreecommitdiff
path: root/runtime/oat_file_assistant.cc
diff options
context:
space:
mode:
author Stefano Cianciulli <scianciulli@google.com> 2022-06-20 13:49:35 +0000
committer Stefano Cianciulli <scianciulli@google.com> 2022-06-28 15:59:11 +0000
commit9b73d5d57b39c5817f79b42f08c0bbd638807898 (patch)
tree5380825433b645e074d67731849c31f515065b3f /runtime/oat_file_assistant.cc
parent38c1f6af0c830594882e67e0620b3f45d2a0c92a (diff)
Fix bugprone-argument-comment clang-tidy issues
Test: m tidy-art Bug: 213953102 Change-Id: I5c703033db4fefd1cb3f1dd2dc95126930e28d53
Diffstat (limited to 'runtime/oat_file_assistant.cc')
-rw-r--r--runtime/oat_file_assistant.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/oat_file_assistant.cc b/runtime/oat_file_assistant.cc
index 1ba0cbb640..cf0155f615 100644
--- a/runtime/oat_file_assistant.cc
+++ b/runtime/oat_file_assistant.cc
@@ -750,7 +750,7 @@ bool OatFileAssistant::IsPrimaryBootImageUsable() {
// Only verify the primary boot image.
cached_is_boot_image_usable_ = gc::space::ImageSpace::VerifyBootImages(
ArrayRef<const std::string>(runtime_options_->image_locations)
- .SubArray(/*pos=*/0u, /*size=*/1u),
+ .SubArray(/*pos=*/0u, /*length=*/1u),
ArrayRef<const std::string>(runtime_options_->boot_class_path_locations),
ArrayRef<const std::string>(runtime_options_->boot_class_path),
runtime_options_->boot_class_path_fds != nullptr ?