Commit 0cf6a3217784753604259e2e6bffd9299d304dc4

Authored by Jürgen Knödlseder
1 parent 5978dc16

Make flush method public

Showing 1 changed file with 1 additions and 1 deletions
include/GLog.hpp
@@ -81,6 +81,7 @@ public: @@ -81,6 +81,7 @@ public:
81 int size(void) const; 81 int size(void) const;
82 void open(const std::string& filename, bool clobber = false); 82 void open(const std::string& filename, bool clobber = false);
83 void close(void); 83 void close(void);
  84 + void flush(bool force = false);
84 void date(bool flag); 85 void date(bool flag);
85 void cout(bool flag); 86 void cout(bool flag);
86 void cerr(bool flag); 87 void cerr(bool flag);
@@ -104,7 +105,6 @@ protected: @@ -104,7 +105,6 @@ protected:
104 void init_members(void); 105 void init_members(void);
105 void copy_members(const GLog& log); 106 void copy_members(const GLog& log);
106 void free_members(void); 107 void free_members(void);
107 - void flush(bool force = false);  
108 void header(const std::string& arg, int level); 108 void header(const std::string& arg, int level);
109 std::string strdate(void) const; 109 std::string strdate(void) const;
110 std::string prefix(void) const; 110 std::string prefix(void) const;