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

`KVEngine::getRecordStore` should return a unique pointer

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.0-rc1
    • Affects Version/s: None
    • Component/s: Internal Code, Storage
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Integration 2016-10-10
    • 0

      Currently, `KVEngine::getRecordStore` returns a pointer allocated with the `new` keyword. Returning a unique pointer is preferred, as it (among other things) will automatically deallocate when it goes out of scope.

            Assignee:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Reporter:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: