diff --git a/include/core/typeinfo.h b/include/core/typeinfo.h index 690073bb33..6ea0e1538e 100644 --- a/include/core/typeinfo.h +++ b/include/core/typeinfo.h @@ -281,6 +281,7 @@ constexpr bool IsInstatiableType( const KICAD_T aType ) switch( aType ) { + case SCH_LOCATE_ANY_T: case SCH_SCREEN_T: return false;