logger: Initialize members with default vals
This commit is contained in:
4
logger.h
4
logger.h
@@ -7,8 +7,8 @@ class Logger
|
|||||||
private:
|
private:
|
||||||
class LogEntry
|
class LogEntry
|
||||||
{
|
{
|
||||||
bool headerSent;
|
bool headerSent = false;
|
||||||
std::ostream *out;
|
std::ostream *out = nullptr;
|
||||||
std::string prefix;
|
std::string prefix;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
Viittaa uudesa ongelmassa
Block a user