BOARD_ITEM: assert on unimplemented GetEffectiveShape()

This commit is contained in:
Tomasz Wlostowski 2020-08-04 00:09:23 +02:00
parent ffabc17372
commit 59303adaca
1 changed files with 4 additions and 0 deletions

View File

@ -156,6 +156,10 @@ std::shared_ptr<SHAPE> BOARD_ITEM::GetEffectiveShape( PCB_LAYER_ID aLayer ) cons
{
std::shared_ptr<SHAPE> shape;
int unimplemented_get_effective_shape = 0;
assert( unimplemented_get_effective_shape );
(void) unimplemented_get_effective_shape;
return shape;
}