Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-4572

SerializationRegistry::addType and similar functions should return std::shared_ptr

    XMLWordPrintableJSON

Details

    Description

      Currently these functions return a raw pointer. Returning a std::shared_ptr reduces the chance for memory leaks and improves performance given that all use cases resulted in the raw pointer being wrapped later in std::shared_ptr.

      Attachments

        Issue Links

          Activity

            People

              jbarrett Jacob Barrett
              jbarrett Jacob Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h