From 86c75cf26107e45889273e86631d65c3b39e492a Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Fri, 19 May 2023 09:24:49 +0200 Subject: [PATCH] Fix a compil issue. --- pcbnew/board.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/board.cpp b/pcbnew/board.cpp index e3070593dc..6c5e9b0616 100644 --- a/pcbnew/board.cpp +++ b/pcbnew/board.cpp @@ -460,7 +460,7 @@ bool BOARD::SetLayerDescr( PCB_LAYER_ID aIndex, const LAYER& aLayer ) } -const PCB_LAYER_ID BOARD::GetLayerID( const wxString& aLayerName ) const +PCB_LAYER_ID BOARD::GetLayerID( const wxString& aLayerName ) const { // Check the BOARD physical layer names. for( int layer = 0; layer < PCB_LAYER_ID_COUNT; ++layer )