logger: Initialize members with default vals
This commit is contained in:
szülő
24121a1618
commit
7c086e0d78
4
logger.h
4
logger.h
@ -7,8 +7,8 @@ class Logger
|
||||
private:
|
||||
class LogEntry
|
||||
{
|
||||
bool headerSent;
|
||||
std::ostream *out;
|
||||
bool headerSent = false;
|
||||
std::ostream *out = nullptr;
|
||||
std::string prefix;
|
||||
|
||||
public:
|
||||
|
Betöltés…
Reference in New Issue
Block a user