[prev in list] [next in list] [prev in thread] [next in thread]
List: gnash-commit
Subject: Re: [Gnash-commit] Make sure to initialize FBAggGlue member variables fb_var_screeninfo...
From: Petter Reinholdtsen <pere () hungry ! com>
Date: 2014-04-24 22:20:36
Message-ID: 20140424222036.GY28492 () ulrik ! uio ! no
[Download RAW message or body]
[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
_______________________________________________
Gnash-commit mailing list
Gnash-commit@gnu.org
https://lists.gnu.org/mailman/listinfo/gnash-commit
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic