From 59303adaca55ca679d879d335c10981b00fba071 Mon Sep 17 00:00:00 2001 From: Tomasz Wlostowski Date: Tue, 4 Aug 2020 00:09:23 +0200 Subject: [PATCH] BOARD_ITEM: assert on unimplemented GetEffectiveShape() --- pcbnew/class_board_item.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pcbnew/class_board_item.cpp b/pcbnew/class_board_item.cpp index 9a6a43b7db..264c08a005 100644 --- a/pcbnew/class_board_item.cpp +++ b/pcbnew/class_board_item.cpp @@ -156,6 +156,10 @@ std::shared_ptr BOARD_ITEM::GetEffectiveShape( PCB_LAYER_ID aLayer ) cons { std::shared_ptr shape; + int unimplemented_get_effective_shape = 0; + assert( unimplemented_get_effective_shape ); + (void) unimplemented_get_effective_shape; + return shape; }