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

Add explicit constructor to fix C++20 compilation in BucketCatalog

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Execution Team 2022-12-12
    • 51

      C++20 changes the rules around aggregate initialization, so that if a struct/class has a deleted default constructor (e.g. if one of the members cannot be default constructed), then the struct isn't eligible for aggregate initialization.

            Assignee:
            dan.larkin-york@mongodb.com Dan Larkin-York
            Reporter:
            dan.larkin-york@mongodb.com Dan Larkin-York
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: