Rename UNKNOWN in enums to prevent shadowing.

This commit is contained in:
Alex Shvartzkop 2024-01-16 19:14:57 +03:00
parent d512e09eb8
commit 4f6c25895e
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ enum FIELDS_AUTOPLACED
enum DANGLING_END_T
{
UNKNOWN = 0,
DANGLING_END_UNKNOWN = 0,
WIRE_END,
BUS_END,
JUNCTION_END,

View File

@ -53,7 +53,7 @@ public:
*/
enum PCB_FILE_T
{
UNKNOWN = 0, ///< 0 is not a legal menu id on Mac
PCB_FILE_UNKNOWN = 0, ///< 0 is not a legal menu id on Mac
KICAD_SEXP, ///< S-expression Pcbnew file format.
LEGACY, ///< Legacy Pcbnew file formats prior to s-expression.
ALTIUM_CIRCUIT_MAKER,