1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-29 21:49:07 +00:00

Use initializer list for member initialization

This commit is contained in:
Pavel Labath 2010-11-26 18:03:41 +01:00
parent 99c359b212
commit 43d81169f6

View File

@ -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