mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 07:53:51 +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)
|
||||
: m_type (type),
|
||||
m_address (address),
|
||||
m_impl (type, address, args...)
|
||||
{
|
||||
m_ndimensions = calc_f77_array_dims (m_type);
|
||||
}
|
||||
m_impl (type, address, args...),
|
||||
m_ndimensions (calc_f77_array_dims (m_type))
|
||||
{ /* Nothing. */ }
|
||||
|
||||
/* Walk the array. */
|
||||
void
|
||||
|
Reference in New Issue
Block a user