mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-27 20:44:56 +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
|
||||
|
||||
font_list()
|
||||
: name(), font(NULL)
|
||||
: name(), font(NULL), fontset(NULL)
|
||||
#ifdef BUILD_XFT
|
||||
, xftfont(NULL), font_alpha(0xffff)
|
||||
#endif
|
||||
{
|
||||
fontset = NULL;
|
||||
}
|
||||
{}
|
||||
};
|
||||
|
||||
#ifdef BUILD_XFT
|
||||
|
Loading…
Reference in New Issue
Block a user