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

QtConcurrent headers leads to warnings W4

    XMLWordPrintable

Details

    • 0683de205f1d5f54e7fe62a5be5ad43d6de15a9e (qt/qtbase/5.15)

    Description

      In qtconcurrentmapkernel.h class MappedEachKernel derives from IterateKernel.
      IterateKernel has two public class members:
      const Iterator begin;
      const Iterator end;

      The derived class MappedEachKernel has a method runIterations with the
      following method signature:

      bool runIterations(Iterator sequenceBeginIterator, int begin, int end, T
      *results) override

      So the names 'begin' and 'end' are used on class level which leads to warning W4

      Attachments

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

        Activity

          People

            vhilshei Volker Hilsheimer
            irfan.omair@digia.com Irfan Omair
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes