diff libinterp/corefcn/gzfstream.h @ 30168:4412f57132c4

maint: use "m_" prefix for member variables in classes gzifstream, gzofstream. * gzfstream.cc, gzfstream.h: Use "m_" prefix for member variables in classes gzifstream, gzofstream.
author Rik <rik@octave.org>
date Sun, 12 Sep 2021 20:57:27 -0700
parents d809b99f1280
children a61e1a0f6024
line wrap: on
line diff
--- a/libinterp/corefcn/gzfstream.h	Sun Sep 12 20:50:13 2021 -0700
+++ b/libinterp/corefcn/gzfstream.h	Sun Sep 12 20:57:27 2021 -0700
@@ -307,14 +307,14 @@
   */
   gzfilebuf*
   rdbuf () const
-  { return const_cast<gzfilebuf *>(&sb); }
+  { return const_cast<gzfilebuf *>(&m_sb); }
 
   /**
    *  @brief  Check if file is open.
    *  @return  True if file is open.
   */
   bool
-  is_open () { return sb.is_open (); }
+  is_open () { return m_sb.is_open (); }
 
   /**
    *  @brief  Open gzipped file.
@@ -356,7 +356,7 @@
   /**
    *  Underlying stream buffer.
   */
-  gzfilebuf sb;
+  gzfilebuf m_sb;
 };
 
 /**
@@ -394,14 +394,14 @@
   */
   gzfilebuf*
   rdbuf () const
-  { return const_cast<gzfilebuf *>(&sb); }
+  { return const_cast<gzfilebuf *>(&m_sb); }
 
   /**
    *  @brief  Check if file is open.
    *  @return  True if file is open.
   */
   bool
-  is_open () { return sb.is_open (); }
+  is_open () { return m_sb.is_open (); }
 
   /**
    *  @brief  Open gzipped file.
@@ -443,7 +443,7 @@
   /**
    *  Underlying stream buffer.
   */
-  gzfilebuf sb;
+  gzfilebuf m_sb;
 };
 
 /**