]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfix: Rename private member variables so that they do not start with a
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 13 Aug 2013 16:40:38 +0000 (16:40 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 13 Aug 2013 16:40:38 +0000 (16:40 +0000)
leading dash

git-svn-id: https://svn.dealii.org/trunk@30301 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/base/logstream.cc

index e05f28a89bb977eddf9ed352400bcd1d5f653344..447ff341100d3cb8eafb7f150695cbce42710141 100644 (file)
@@ -161,24 +161,24 @@ LogStream::operator<< (std::ostream& (*p) (std::ostream &))
     // whether overflow or sync was called
     public:
       QueryStreambuf()
-        : _flushed(false), _newline_written(false)
+        : flushed_(false), newline_written_(false)
       {
       }
-      bool flushed() { return _flushed; }
-      bool newline_written() { return _newline_written; }
+      bool flushed() { return flushed_; }
+      bool newline_written() { return newline_written_; }
     private:
       int_type overflow(int_type ch)
         {
-          _newline_written = true;
+          newline_written_ = true;
           return ch;
         }
       int sync()
         {
-          _flushed = true;
+          flushed_ = true;
           return 0;
         }
-      bool _flushed;
-      bool _newline_written;
+      bool flushed_;
+      bool newline_written_;
   } query_streambuf;
 
   {

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.