openCollection should return CollectionPtr

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2022-10-31
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Collection instances created by openCollection have their lifetime managed by the storage snapshot. We do not need to return a shared_ptr and can return a CollectionPtr to make it easier for the caller by using the same return type as the regular collection lookup functions.

            Assignee:
            Will Buerger
            Reporter:
            Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: