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

QWinRegistryKey inconsistent handling of data members in swap()/move-SMFs

XMLWordPrintable

    • Windows
    • Foundation PM Staging

      Since qtbase/589bfddc7c44a92e7e3f98a1e73871793c153ab7 QWinRegistryKey has a new data member, m_keyChangedEvent, which is not swapped in swap(), therefore not moved in move-assignment (implemented via move-and-swap), and not exchange()d in the move ctor.

      It's unclear what the severity of this omission is, and it's also unclear to me how to fix it, given that m_keyChangedEvent is bound to both the m_key and the QObject identity.

      Maybe as a hot-fix, we can disable moves?

        For Gerrit Dashboard: QTBUG-140725
        # Subject Branch Project Status CR V

            vestbo Tor Arne Vestbø
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change