kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #24306
Re: [PATCH] Make EDA_ITEM::Clone() abstract
Since we have C++11 now...why not use the override specifier? :D
On Wed, Apr 20, 2016 at 2:28 PM, Simon Richter <Simon.Richter@xxxxxxxxxx> wrote:
> Make this function abstract in the base, and provide private functions
> emitting error messages in all types that are actually instantiated.
>
> ---
> 3d-viewer/3d_material.h | 3 +++
> 3d-viewer/3d_struct.h | 2 ++
> common/base_struct.cpp | 7 -------
> eeschema/class_libentry.h | 6 ++++++
> eeschema/class_sch_screen.h | 3 +++
> gerbview/class_gbr_screen.h | 3 +++
> gerbview/class_gerber_draw_item.h | 2 ++
> include/base_struct.h | 9 +--------
> include/class_pcb_screen.h | 3 +++
> include/origin_viewitem.h | 3 +++
> include/worksheet_viewitem.h | 3 +++
> pagelayout_editor/class_pl_editor_screen.h | 3 +++
> pagelayout_editor/pl_editor_undo_redo.cpp | 3 +++
> pcbnew/class_board.h | 3 +++
> pcbnew/class_marker_pcb.h | 3 +++
> pcbnew/class_netinfo.h | 2 ++
> pcbnew/ratsnest_viewitem.h | 3 +++
> pcbnew/tools/bright_box.h | 2 ++
> pcbnew/tools/edit_points.h | 2 ++
> pcbnew/tools/selection_area.h | 2 ++
> 20 files changed, 52 insertions(+), 15 deletions(-)
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
--
Mark
Follow ups
References