Mercurial > octave
changeset 30038:18fd44941006
maint: use "m_" prefix for member variables in ov-base.h
ov-base.h: Rename "_fcn"->"m_fcn", "_type_id"->"m_type_id".
author | Rik <rik@octave.org> |
---|---|
date | Tue, 24 Aug 2021 20:26:27 -0700 |
parents | 8d6bdd961494 |
children | f16cfb2d7d1b |
files | libinterp/octave-value/ov-base.h |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-base.h Tue Aug 24 19:55:44 2021 -0700 +++ b/libinterp/octave-value/ov-base.h Tue Aug 24 20:26:27 2021 -0700 @@ -238,18 +238,18 @@ { public: type_conv_info (type_conv_fcn f = nullptr, int t = -1) - : _fcn (f), _type_id (t) { } + : m_fcn (f), m_type_id (t) { } - operator type_conv_fcn (void) const { return _fcn; } + operator type_conv_fcn (void) const { return m_fcn; } octave_base_value * operator () (const octave_base_value& v) const - { return (*_fcn) (v); } + { return (*m_fcn) (v); } - int type_id (void) const { return _type_id; } + int type_id (void) const { return m_type_id; } private: - type_conv_fcn _fcn; - int _type_id; + type_conv_fcn m_fcn; + int m_type_id; }; friend class octave_value;