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

QPdfDestination is used as base class, but dtor is public and non-virtual

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P0: Blocker
    • 6.4.0 Beta1
    • None
    • PDF
    • None
    • cb775365eb (qt/qtwebengine/dev)

    Description

      Base class dtors should be either protected and non-virtual or else public and virtual. This here construct is not tolerable, as it allows slicing. Make up our minds whether QPdfDestination needs to be a public baseclass or cannot be a private or protected one.

      Attachments

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              mmutz Marc Mutz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes