Remove name of unused parameter in array-traits.h
2019-09-17 Richard Sandiford <richard.sandiford@arm.com> gcc/ * array-traits.h (array_traits<T[N]>::size): Remove parameter name. From-SVN: r275805
This commit is contained in:
parent
1160be1268
commit
7dbc2e3b6d
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2019-09-17 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* array-traits.h (array_traits<T[N]>::size): Remove parameter name.
|
||||
|
||||
2019-09-17 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR debug/91772
|
||||
|
|
|
@ -42,7 +42,7 @@ struct array_traits<T[N]>
|
|||
static const bool has_constant_size = true;
|
||||
static const size_t constant_size = N;
|
||||
static const T *base (const T (&x)[N]) { return x; }
|
||||
static size_t size (const T (&x)[N]) { return N; }
|
||||
static size_t size (const T (&)[N]) { return N; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue