From 9947cc035971bbc0d680a5da6dda2aec3f292f5f Mon Sep 17 00:00:00 2001 From: Mark Roszko Date: Thu, 21 Mar 2024 03:23:29 +0000 Subject: [PATCH] Fix another build breakage --- pcbnew/pad.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/pad.cpp b/pcbnew/pad.cpp index fddeb861fe..3198983b45 100644 --- a/pcbnew/pad.cpp +++ b/pcbnew/pad.cpp @@ -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; } }