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

Make RoleGraph non-copyable

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.10
    • Affects Version/s: 3.5 Desired
    • Component/s: None
    • Labels:
      None
    • Minor Change
    • Platforms 2017-07-10

      Actually copying a structure this size is unnecessarily expensive given how it's actually used. Remove copy-ability and replace with move semantics. Remove swap() method as well, replacing the one usage with a move since it's a local variable that's about to die anyway.

            Assignee:
            sara.golemon@mongodb.com Sara Golemon
            Reporter:
            sara.golemon@mongodb.com Sara Golemon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: