Avoid an annoying compil warning with GCC 12.2

This commit is contained in:
jean-pierre charras 2022-12-10 14:48:47 +01:00
parent be8f99e8fe
commit f76811471e
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ bool isKeySpecialCode( int aKeyCode )
// that is not used alone in kicad
static bool isKeyModifierOnly( int aKeyCode )
{
const std::vector<enum wxKeyCode> special_keys =
static std::vector<enum wxKeyCode> special_keys =
{
WXK_CONTROL, WXK_RAW_CONTROL, WXK_SHIFT, WXK_ALT
};