[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] Make sure to initialize FBAggGlue member variables fb
From: |
Petter Reinholdtsen |
Subject: |
Re: [Gnash-commit] Make sure to initialize FBAggGlue member variables fb_var_screeninfo... |
Date: |
Fri, 25 Apr 2014 00:20:36 +0200 |
User-agent: |
Mutt/1.5.20 (2009-12-10) |
[Bastiaan Jacques]
> The C++ way to set all members of a struct without a user-defined
> constructor to zero, is to call the default constructor, which you can
> do in the initialization list.
I repeated the way it already was done in the other constructor for
this class. Feel free to change it if you want to use another method,
but I suggest you do it in both for consistency. I have no idea why
it was done like that in the default constructor. :)
--
Happy hacking
Petter Reinholdtsen