Make sure all members are initialized in the constructor.
This commit is contained in:
parent
6c3239bb42
commit
6953536d80
1 changed files with 6 additions and 0 deletions
|
@ -25,6 +25,12 @@ class config;
|
|||
|
||||
struct token
|
||||
{
|
||||
token() :
|
||||
type(END),
|
||||
leading_spaces(),
|
||||
value()
|
||||
{}
|
||||
|
||||
enum token_type {
|
||||
STRING,
|
||||
QSTRING,
|
||||
|
|
Loading…
Add table
Reference in a new issue