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:
Maciej W. Rozycki
2021-12-17 15:01:32 +00:00
parent 72994b6028
commit c12d6b570d

View File

@ -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