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

class with destructor marked 'final' cannot be inherited from

    • Type: Icon: Task Task
    • Resolution: Works as Designed
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 4.4.0-rc5
    • Component/s: Security
    • Server Development Platform

      src/mongo/db/free_mon/free_mon_mongod.cpp:98:27: error: class with destructor marked 'final' cannot be inherited from [-Werror,-Wfinal-dtor-non-final-class]
       ~FreeMonNetworkHttp() final = default;
       ^
       src/mongo/db/free_mon/free_mon_mongod.cpp:87:7: note: mark 'mongo::(anonymous namespace)::FreeMonNetworkHttp' as 'final' to silence this warning
       class FreeMonNetworkHttp : public FreeMonNetworkInterface {
       ^
       1 error generated.
      
      

            Assignee:
            alex.neben@mongodb.com Alex Neben
            Reporter:
            liangjie.mailbox@qq.com Jiang Li
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: