Hi, now that we have C++11, we can use std::shared_ptr, so we no longer need boost::shared_ptr.
The overload for shared_ptr<T []> is not yet in the standard (expected for C++17), so shared_array cannot be replaced easily, however we only have a few instances anyway, two of them never leave their scope (so std::unique_ptr<T []> has the correct semantics), and one is used in place of a more sensible allocator. Simon Simon Richter (3): Replace boost::shared_ptr with std::shared_ptr Replace unshared boost::shared_array with std::unique_ptr Replace last instance of boost::shared_array 3d-viewer/3d_mesh_model.h | 4 ++-- common/gal/opengl/opengl_gal.cpp | 16 ++++++++-------- common/geometry/hetriang.cpp | 34 +++++++++++++++++----------------- eeschema/class_libentry.h | 7 +++---- eeschema/sch_component.h | 5 ++--- include/gal/cairo/cairo_gal.h | 5 +++-- include/gal/opengl/opengl_gal.h | 9 ++++----- include/gal/opengl/vertex_manager.h | 6 +++--- include/painter.h | 2 +- include/ttl/halfedge/hetriang.h | 9 ++++----- pcbnew/class_board_connected_item.h | 2 +- pcbnew/class_netclass.cpp | 6 ++---- pcbnew/class_netclass.h | 5 +++-- pcbnew/dialogs/dialog_design_rules.cpp | 4 +--- pcbnew/drc_stuff.h | 4 ++-- pcbnew/legacy_plugin.cpp | 4 +--- pcbnew/legacy_plugin.h | 3 ++- pcbnew/pcb_painter.h | 3 ++- pcbnew/pcb_parser.cpp | 4 +--- pcbnew/ratsnest_data.cpp | 13 ++++++------- pcbnew/ratsnest_data.h | 4 ++-- pcbnew/router/pns_optimizer.h | 2 +- pcbnew/specctra.h | 5 +++-- pcbnew/tools/edit_points.h | 9 +++++---- pcbnew/tools/point_editor.cpp | 5 ++--- pcbnew/tools/point_editor.h | 9 +++++---- pcbnew/tools/selection_tool.cpp | 2 +- 27 files changed, 87 insertions(+), 94 deletions(-) -- 2.1.4
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp