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

SpecificStats::clone() should return a unique_ptr rather than a raw pointer

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.9.0
    • Querying
    • Query Execution 2021-02-22

    Description

      There is no apparent reason to return a raw pointer when cloning a SpecificStats instance and we should take advantage of unique_ptr whenever possible.

      Attachments

        Activity

          People

            yoonsoo.kim@mongodb.com Yoon Soo Kim
            anton.korshunov@mongodb.com Anton Korshunov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: