diff options
author | 2023-05-16 10:32:54 +0000 | |
---|---|---|
committer | 2023-05-22 10:36:39 +0000 | |
commit | 78f3c72e8948087352788997a70854dee613352c (patch) | |
tree | 306db3c15bc4b7af149bcf3e07be533e50679b88 /runtime/mirror/executable.h | |
parent | dc771261232c2ff702373f396a5a7fe586e2f0a6 (diff) |
Use C++17's [[maybe_unused]] attribute in ART
Bug: 169680875
Test: mmm art
Change-Id: Ic0cc320891c42b07a2b5520a584d2b62052e7235
Diffstat (limited to 'runtime/mirror/executable.h')
-rw-r--r-- | runtime/mirror/executable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/mirror/executable.h b/runtime/mirror/executable.h index dc4ec95243..079efc3320 100644 --- a/runtime/mirror/executable.h +++ b/runtime/mirror/executable.h @@ -64,7 +64,7 @@ class MANAGED Executable : public AccessibleObject { uint8_t has_real_parameter_data_; // Padding required for matching alignment with the Java peer. - uint8_t padding_[2] ATTRIBUTE_UNUSED; + [[maybe_unused]] uint8_t padding_[2]; HeapReference<mirror::Class> declaring_class_; HeapReference<mirror::Class> declaring_class_of_overridden_method_; |