Consider removing BatonHandle typedef

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Service Arch
    • Fully Compatible
    • Service Arch 2023-06-26, Service Arch 2023-07-10
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the baton API defines a typedef of BatonHandle for std::shared_ptr<Baton>. It's come up serveral times that it's not obvious to readers from the name that BatonHandle provides the refcounting and other particular properties of shared_ptr that are often relied on when it is used.  Since this "handle"  doesn't provide any special properties and is just a typedef, it may be worth removing the typedef and just type std::shared_ptr<Baton> to remove this ambiguity.

            Assignee:
            Jennifer Wang (Inactive)
            Reporter:
            George Wangensteen (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: