Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-111092

QVarLengthArray: initialize elements when resizing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • None
    • 6.5.0 Beta2
    • None

    Description

      When resizing a QVLA of non-complex type, and the user didn't specify
      a value to copy from, QVLA never initialized the newly created objects.
      This is wrong – all of them need to be value initialized.

      Attachments

        Activity

          People

            peppe Giuseppe D'Angelo
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: