Fix another build breakage

This commit is contained in:
Mark Roszko 2024-03-21 03:23:29 +00:00
parent de6c0fcf25
commit 9947cc0359
1 changed files with 2 additions and 2 deletions

View File

@ -554,7 +554,7 @@ void PAD::BuildEffectiveShapes( PCB_LAYER_ID aLayer ) const
default:
wxFAIL_MSG( wxT( "PAD::buildEffectiveShapes: Unsupported pad shape: PAD_SHAPE::" )
+ wxString( magic_enum::enum_name( effectiveShape ) ) );
+ wxString( std::string( magic_enum::enum_name( effectiveShape ) ) ) );
break;
}
@ -1720,7 +1720,7 @@ void PAD::TransformShapeToPolygon( SHAPE_POLY_SET& aBuffer, PCB_LAYER_ID aLayer,
default:
wxFAIL_MSG( wxT( "PAD::TransformShapeToPolygon no implementation for " )
+ wxString( magic_enum::enum_name( GetShape() ) ) );
+ wxString( std::string( magic_enum::enum_name( GetShape() ) ) ) );
break;
}
}