Mercurial > octave
changeset 30149:bba8b70c201f
maint: use "m_" prefix for member variables in class diary_stream.
* pager.cc, pager.h: Use "m_" prefix for member variables in class
diary_stream.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 09 Sep 2021 20:27:36 -0700 |
parents | 870687a59e96 |
children | 037feca70912 |
files | libinterp/corefcn/pager.cc libinterp/corefcn/pager.h |
diffstat | 2 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/pager.cc Thu Sep 09 20:12:01 2021 -0700 +++ b/libinterp/corefcn/pager.cc Thu Sep 09 20:27:36 2021 -0700 @@ -226,17 +226,17 @@ setf (unitbuf); } - diary_stream::diary_stream (void) : std::ostream (nullptr), db (nullptr) + diary_stream::diary_stream (void) : std::ostream (nullptr), m_db (nullptr) { - db = new diary_buf (); - rdbuf (db); + m_db = new diary_buf (); + rdbuf (m_db); setf (unitbuf); } diary_stream::~diary_stream (void) { flush (); - delete db; + delete m_db; } std::ostream& diary_stream::stream (void) @@ -251,9 +251,9 @@ void diary_stream::reset (void) { - delete db; - db = new diary_buf (); - rdbuf (db); + delete m_db; + m_db = new diary_buf (); + rdbuf (m_db); setf (unitbuf); }