Some syntactic improvements
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
// Flush to file every X writes..
|
||||
// If X is zero than never flush..
|
||||
|
||||
namespace c11log
|
||||
{
|
||||
@@ -13,6 +14,8 @@ public:
|
||||
_flush_every(flush_every),
|
||||
_flush_countdown(flush_every) {};
|
||||
|
||||
file_flush_helper(const file_flush_helper&) = delete;
|
||||
|
||||
void write(const std::string& msg, std::ofstream& ofs)
|
||||
{
|
||||
ofs.write(msg.data(), msg.size());
|
||||
|
||||
Reference in New Issue
Block a user