Commit 7dbc2e3b by Richard Sandiford Committed by Richard Sandiford

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
parent 1160be12
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment