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

remove makeStatusWith

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Fully Compatible
    • Service arch 2020-06-29

      This function is a 1-liner. It has a much larger unit test.

      It's only used in 3 places, across 2 files.

      C++17 provides constructor template argument deduction now, so we don't need maker functions like this one. Much cleaner to just not have it at all.

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: