mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-18 16:53:50 +08:00
Initialize `m_ndimensions' in the member initializer list
Following our coding convention initialize the `m_ndimensions' member in the member initializer list rather than in the body of the constructor of the `fortran_array_walker' class. No functional change.
This commit is contained in:
@ -176,10 +176,9 @@ public:
|
|||||||
Args... args)
|
Args... args)
|
||||||
: m_type (type),
|
: m_type (type),
|
||||||
m_address (address),
|
m_address (address),
|
||||||
m_impl (type, address, args...)
|
m_impl (type, address, args...),
|
||||||
{
|
m_ndimensions (calc_f77_array_dims (m_type))
|
||||||
m_ndimensions = calc_f77_array_dims (m_type);
|
{ /* Nothing. */ }
|
||||||
}
|
|
||||||
|
|
||||||
/* Walk the array. */
|
/* Walk the array. */
|
||||||
void
|
void
|
||||||
|
Reference in New Issue
Block a user