use os.put() for single chars
This commit is contained in:
parent
030f6c2dba
commit
b4755b07e0
7
Log.cpp
7
Log.cpp
|
@ -32,7 +32,8 @@ public:
|
|||
|
||||
std::ostream* os = getOs(lvl);
|
||||
if (os) {
|
||||
*os << sbuf << '\n';
|
||||
*os << sbuf;
|
||||
os->put('\n');
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -83,7 +84,7 @@ private:
|
|||
else
|
||||
*os << sbuf;
|
||||
|
||||
*os << '\n';
|
||||
os->put('\n');
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -191,7 +192,7 @@ void init() {
|
|||
// set default entry metadata printing functions
|
||||
auto space = [](std::ostream& os, const Entry& e) -> std::ostream& {
|
||||
(void) e;
|
||||
return os << ' ';
|
||||
return os.put(' ');
|
||||
};
|
||||
entryMetaFunctions = {
|
||||
defaultEntryMetaTime,
|
||||
|
|
Loading…
Reference in New Issue