mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 18:45:10 +00:00
Use initializer list for member initialization
This commit is contained in:
parent
99c359b212
commit
43d81169f6
@ -48,13 +48,11 @@ struct font_list {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
font_list()
|
font_list()
|
||||||
: name(), font(NULL)
|
: name(), font(NULL), fontset(NULL)
|
||||||
#ifdef BUILD_XFT
|
#ifdef BUILD_XFT
|
||||||
, xftfont(NULL), font_alpha(0xffff)
|
, xftfont(NULL), font_alpha(0xffff)
|
||||||
#endif
|
#endif
|
||||||
{
|
{}
|
||||||
fontset = NULL;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef BUILD_XFT
|
#ifdef BUILD_XFT
|
||||||
|
Loading…
Reference in New Issue
Block a user