← Back to team overview

kicad-developers team mailing list archive

[PATCH 0/1] Make EDA_ITEM::Clone() abstract

 

Hi,

this is for the 6.0 series. No functional changes, but fail at compile time
instead of runtime if an EDA_ITEM descendant doesn't implement Clone().

Simon Richter (1):
  Make EDA_ITEM::Clone() abstract

 common/base_struct.cpp                       |  7 -------
 eeschema/class_libentry.h                    | 12 ++++++++++++
 eeschema/sch_collectors.cpp                  |  6 ++++++
 eeschema/sch_screen.h                        |  6 ++++++
 gerbview/gbr_layout.h                        |  6 ++++++
 gerbview/gbr_screen.h                        |  6 ++++++
 gerbview/gerber_draw_item.h                  |  6 ++++++
 gerbview/gerber_file_image.h                 |  6 ++++++
 gerbview/gerber_file_image_list.h            |  6 ++++++
 include/base_struct.h                        |  9 +--------
 include/pcb_screen.h                         |  6 ++++++
 include/preview_items/arc_assistant.h        |  5 +++++
 include/preview_items/bright_box.h           |  5 +++++
 include/preview_items/centreline_rect_item.h |  5 +++++
 include/preview_items/polygon_item.h         |  5 +++++
 include/preview_items/ruler_item.h           |  5 +++++
 include/preview_items/selection_area.h       |  5 +++++
 include/worksheet_viewitem.h                 |  6 ++++++
 pagelayout_editor/pl_editor_screen.h         |  6 ++++++
 pagelayout_editor/pl_editor_undo_redo.cpp    |  6 ++++++
 pcbnew/class_board.h                         |  6 ++++++
 pcbnew/class_marker_pcb.h                    |  6 ++++++
 pcbnew/netinfo.h                             | 12 ++++++++++++
 pcbnew/ratsnest_viewitem.h                   |  6 ++++++
 pcbnew/router/router_preview_item.h          |  6 ++++++
 pcbnew/tools/edit_points.h                   |  5 +++++
 26 files changed, 150 insertions(+), 15 deletions(-)

-- 
2.11.0


Follow ups