|
From: | Bastiaan Jacques |
Subject: | Re: [Gnash-commit] Make sure to initialize FBAggGlue member variables fb_var_screeninfo... |
Date: | Fri, 25 Apr 2014 09:54:16 +0200 (CEST) |
User-agent: | Alpine 2.00 (DEB 1167 2008-08-23) |
On Fri, 25 Apr 2014, Petter Reinholdtsen wrote:
[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. :)
No, I won't fix your code. Bastiaan
[Prev in Thread] | Current Thread | [Next in Thread] |