| commit | cbdbed57a8dbaf3fd8c7641727765f3d24e00ffd | [log] [tgz] |
|---|---|---|
| author | Andrew Jeffery <andrew@aj.id.au> | Tue Feb 07 16:26:00 2023 +1030 |
| committer | Andrew Jeffery <andrew@aj.id.au> | Tue Feb 07 16:52:08 2023 +1030 |
| tree | bdb5fc590bf900b37f0542d38f52bf3fe0e14183 | |
| parent | b24c42f58e3e1c92f61f29322406b5387c670518 [diff] |
argument: Fix cppcoreguidelines-avoid-c-arrays
Suppress it, as switching to std::array<...> causes g++ to complain that
options has an incomplete type.
```
../argument.hpp:44:25: error: do not declare C-style arrays, use std::array<> instead [cppcoreguidelines-avoid-c-arrays,-warnings-as-errors]
static inline const option options[] = {
^
```
Change-Id: I6730bd7fce25eac3fbf23ea083928b8a98bafa35
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>