Avoid an annoying compil warning with GCC 12.2
This commit is contained in:
parent
be8f99e8fe
commit
f76811471e
|
@ -289,7 +289,7 @@ bool isKeySpecialCode( int aKeyCode )
|
||||||
// that is not used alone in kicad
|
// that is not used alone in kicad
|
||||||
static bool isKeyModifierOnly( int aKeyCode )
|
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
|
WXK_CONTROL, WXK_RAW_CONTROL, WXK_SHIFT, WXK_ALT
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue