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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
    • Query Execution 2021-02-22

      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.

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

              Created:
              Updated:
              Resolved: