diff options
author | Sebastian Schuberth <sschuberth@gmail.com> | 2010-07-07 12:39:17 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-07-13 22:26:45 +0000 |
commit | 4efd2ebb27bf0ed2d2a9f472c5b163640be195e6 (patch) | |
tree | 660d0c511fcd95b62aeb74fcc51f3faca4c5a7e6 /src/tools/moc | |
parent | 17d6b2d1f02e5f679008d97036befd713025a0f2 (diff) |
RegistryKey: Move member variable initialization to the ctor-init-list
In cause of doubt this is more efficient, see
https://isocpp.org/wiki/faq/ctors#init-lists
This also fixes the initialization order to match the declarartion order
of the variables in the class which some versions of GCC otherwise would
complain about.
Change-Id: I642f7156d624c2c65f2f3525d813f5289c092f96
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/tools/moc')
0 files changed, 0 insertions, 0 deletions