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

Cannot compare two const QWaylandBufferRefs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.3.0 RC
    • 5.15.8, 6.0, 6.1, 6.2.3, 6.3.0 Beta2
    • None
    • 8
    • 64875f37d1 (qt/qtwayland/dev) f6c767b89d (qt/qtwayland/6.3)
    • Team Two Foundation Sprint 51, Team Two Foundation Sprint 52

    Description

      The QWaylandBufferRef relational operators == and != are defined as non-const class members, which means that, in C++ < 20, they cannot compare objects unless the LHS is mutable and, in C++ ≥ 20, are ambiguous and still cannot compare objects if both are const.

      Attachments

        Activity

          People

            mmutz Marc Mutz
            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: