Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-32436

DurableViewCatalog has non-virtual destructor

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      I upgraded my compiler today, and noticed the following warning:

      src/mongo/db/views/durable_view_catalog.h:49:7: warning: 'mongo::DurableViewCatalog' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
      class DurableViewCatalog {
            ^
      1 warning generated.
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kyle.suarez Kyle Suarez
              Reporter:
              spencer.jackson Spencer Jackson
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: