diff options
| author | 2023-05-25 09:22:40 +0000 | |
|---|---|---|
| committer | 2023-05-25 09:22:40 +0000 | |
| commit | 4fb93f546d0f9c5be2c8beef08aa363b4e3cc506 (patch) | |
| tree | e57e679513923c3bf199c97488852d764fe25654 | |
| parent | 95891e3ebbe2344415f1a10f55a2cc2a9629b77a (diff) | |
| parent | 7d868e248f22443d095d8fe0ebabf1fe0d95db2e (diff) | |
Use C++17's [[maybe_unused]] attribute in ART am: 7d868e248f
Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/23418737
Change-Id: I666947e6c593bb9b04836769ba699ec65b041e14
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -rw-r--r-- | runtime/startup_completed_task.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/startup_completed_task.cc b/runtime/startup_completed_task.cc index 9358d48acc..a9a06bb0e1 100644 --- a/runtime/startup_completed_task.cc +++ b/runtime/startup_completed_task.cc @@ -82,7 +82,7 @@ void StartupCompletedTask::Run(Thread* self) { // - accessing the image space metadata section when we madvise it // - accessing dex caches when we free them static struct EmptyClosure : Closure { - void Run(Thread* thread ATTRIBUTE_UNUSED) override {} + void Run([[maybe_unused]] Thread* thread) override {} } closure; runtime->GetThreadList()->RunCheckpoint(&closure); |