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

QtFuture::makeReadyFuture(mutable QList) creates wrong future

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.6.0
    • 6.1.3, 6.2.6, 6.3.2, 6.4.1, 6.5.0 Beta1
    • Core: QtConcurrent
    • None
    • 8
    • 028c367f7 (dev), 9b4b32ec9 (dev), 7f38f9f39 (dev), f535958c2 (dev)
    • Foundation Sprint 77, Foundation Sprint 78, Foundations Sprint 79

    Description

      Due to a missing constraint the perfectly-forwarding overload wins for mutable QList<T> and returns a QFuture<QList<T>. Expected: the QList overload is chosen and returns a multi-valued QFuture<T>.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ivan.solovev Ivan Solovev
              mmutz Marc Mutz
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes