diff options
author | 2023-05-16 10:32:54 +0000 | |
---|---|---|
committer | 2023-05-22 10:36:39 +0000 | |
commit | 78f3c72e8948087352788997a70854dee613352c (patch) | |
tree | 306db3c15bc4b7af149bcf3e07be533e50679b88 /cmdline/token_range.h | |
parent | dc771261232c2ff702373f396a5a7fe586e2f0a6 (diff) |
Use C++17's [[maybe_unused]] attribute in ART
Bug: 169680875
Test: mmm art
Change-Id: Ic0cc320891c42b07a2b5520a584d2b62052e7235
Diffstat (limited to 'cmdline/token_range.h')
-rw-r--r-- | cmdline/token_range.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/token_range.h b/cmdline/token_range.h index e917e1d6d0..f662ca6df9 100644 --- a/cmdline/token_range.h +++ b/cmdline/token_range.h @@ -55,7 +55,7 @@ struct TokenRange { #if 0 // Copying-from-vector constructor. - TokenRange(const TokenList& token_list ATTRIBUTE_UNUSED, + TokenRange([[maybe_unused]] const TokenList& token_list, TokenList::const_iterator it_begin, TokenList::const_iterator it_end) : token_list_(new TokenList(it_begin, it_end)), |