[Webkit-unassigned] [Bug 29017] New: [Qt] Use the declaration order in initializer lists

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 7 12:16:29 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=29017

           Summary: [Qt] Use the declaration order in initializer lists
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: laszlo.1.gombos at nokia.com


Class members are initialised in the order they are declared, not the order
they appear in initialiser lists. It is a good practice to put the elements of
the member initialization list in the same order as the data members of the
class. This practice seems to be followed WebKit, let's bring this to QtWebKit
port as well.

This is sometimes reported as a compiler warning for some compilers (e.g. gcc
with high enough warning level).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list