Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-236

Re-order constructor initialiser lists to match declaration order

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.10.0
    • 0.10.0
    • None
    • None

    Description

      The patch I'm about to attach fixes warnings with any version of GCC, caused by
      initialising members in the wrong order in a constructor initialiser
      list. The standard says that members will be initialised in the order
      they're declared in the class body, not the order they appear in the
      init list, so for clarity's sake the init list should be in the same
      order.

      Attachments

        1. log4cxx-initwarnings.patch
          2 kB
          Jonathan Wakely

        Activity

          People

            carnold@apache.org Curt Arnold
            jwakely Jonathan Wakely
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: