Add virtual destructor to kv_transaction_snapshot

XMLWordPrintableJSON

    • Type: Technical Debt
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0, 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: Test Model
    • None
    • Storage Engines, Storage Engines - Persistence
    • None
    • None

      The lack of virtual destructor in kv_transaction_snapshot results in the following warnings when compiled with -Wnon-virtual-dtor:

      test/model/src/include/model/kv_transaction_snapshot.h:101:7: error: 'model::kv_transaction_snapshot_wt' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor]
      

      We should thus add a default virtual destructor.

            Assignee:
            Peter Macko
            Reporter:
            Peter Macko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: