Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-4008

Switch from boost::shared_ptr to std::shared_ptr

    Details

    • Type: Improvement
    • Status: Invalid
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Templates:
    • Team:
      Alert Production

      Description

      Switch from boost::shared_ptr to std::shared_ptr. This also requires switching boost::make_shared to std::make_shared.

      This includes
      • In utils p_lsstSwig.i change from %include "boost_shared_ptr.i" to %include "std_shared_ptr.i". Note that the shared_vec macro defined in p_lsstSwig.i appears to not need any changes (though I do wonder if it is still required).
      • Change the PTR and CONST_PTR macros
      • Change .cc, .h and .i files; I found 1093 matches across 344 files (excluding qserv files, since qserv already switched)

      Note that qserv already switched

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rowen Russell Owen
                Watchers:
                Jim Bosch, John Swinbank, Kian-Tat Lim, Pim Schellart [X] (Inactive), Russell Owen, Tim Jenness
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel