# HG changeset patch # User Rik # Date 1631503793 25200 # Node ID fb174e59db0aa87c835d5b8adfa971d2da35d703 # Parent e1d9d8ef2b295bc39cd86d89307c0e95a3b498fe maint: use "m_" prefix for member variables in class __rangeidx_helper. Range.cc: Use "m_" prefix for member variables in class __rangeidx_helper. diff -r e1d9d8ef2b29 -r fb174e59db0a liboctave/array/Range.cc --- a/liboctave/array/Range.cc Sun Sep 12 14:45:11 2021 +0200 +++ b/liboctave/array/Range.cc Sun Sep 12 20:29:53 2021 -0700 @@ -459,22 +459,22 @@ { public: __rangeidx_helper (double *a, double b, double i, double l, octave_idx_type n) - : array (a), base (b), inc (i), limit (l), nmax (n-1) { } + : m_array (a), m_base (b), m_inc (i), m_limit (l), m_nmax (n-1) { } void operator () (octave_idx_type i) { if (i == 0) - *array++ = base; - else if (i < nmax) - *array++ = base + i * inc; + *m_array++ = m_base; + else if (i < m_nmax) + *m_array++ = m_base + i * m_inc; else - *array++ = limit; + *m_array++ = m_limit; } private: - double *array, base, inc, limit; - octave_idx_type nmax; + double *m_array, m_base, m_inc, m_limit; + octave_idx_type m_nmax; };