mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 10:13:19 +02:00
Fix stupid compile issue with g++
This commit is contained in:
parent
2b33a03954
commit
3cd3ad34dd
@ -241,6 +241,7 @@ public:
|
|||||||
|
|
||||||
wxString msg = wxString::Format( wxT( "Unhandled unit data type %d" ), static_cast<int>( aUnits ) );
|
wxString msg = wxString::Format( wxT( "Unhandled unit data type %d" ), static_cast<int>( aUnits ) );
|
||||||
wxCHECK_MSG( false, EDA_DATA_TYPE::UNITLESS, msg );
|
wxCHECK_MSG( false, EDA_DATA_TYPE::UNITLESS, msg );
|
||||||
|
return EDA_DATA_TYPE::UNITLESS; // Note that this is unreachable but g++-12 doesn't know that.
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @brief The string that is used in the UI to represent a null value
|
/// @brief The string that is used in the UI to represent a null value
|
||||||
|
Loading…
x
Reference in New Issue
Block a user