diff --git a/pcbnew/drc/drc_test_provider.cpp b/pcbnew/drc/drc_test_provider.cpp index e416a3e979..81ef62a1ee 100644 --- a/pcbnew/drc/drc_test_provider.cpp +++ b/pcbnew/drc/drc_test_provider.cpp @@ -102,7 +102,7 @@ bool DRC_TEST_PROVIDER::reportPhase( const wxString& aMessage ) } -void DRC_TEST_PROVIDER::reportAux( wxString fmt, ... ) +void DRC_TEST_PROVIDER::reportAux( const wxChar* fmt, ... ) { va_list vargs; va_start( vargs, fmt ); diff --git a/pcbnew/drc/drc_test_provider.h b/pcbnew/drc/drc_test_provider.h index 4a47738e64..4d46206a94 100644 --- a/pcbnew/drc/drc_test_provider.h +++ b/pcbnew/drc/drc_test_provider.h @@ -103,7 +103,7 @@ protected: int forEachGeometryItem( const std::vector& aTypes, LSET aLayers, const std::function& aFunc ); - virtual void reportAux( wxString fmt, ... ); + virtual void reportAux( const wxChar* fmt, ... ); virtual void reportViolation( std::shared_ptr& item, const VECTOR2I& aMarkerPos, int aMarkerLayer ); virtual bool reportProgress( int aCount, int aSize, int aDelta );