Revert "msvc: temporary workaround for C4789 false positive"
This reverts commit deb73d0167
.
This commit is contained in:
parent
c8316f70a4
commit
cce275c16e
|
@ -89,8 +89,7 @@ struct OutputReportLeds
|
||||||
|
|
||||||
u8 rumble : 1;
|
u8 rumble : 1;
|
||||||
u8 ack : 1;
|
u8 ack : 1;
|
||||||
// This field must be named to work around a msvc bug.
|
u8 : 2;
|
||||||
u8 _padding : 2;
|
|
||||||
u8 leds : 4;
|
u8 leds : 4;
|
||||||
};
|
};
|
||||||
static_assert(sizeof(OutputReportLeds) == 1, "Wrong size");
|
static_assert(sizeof(OutputReportLeds) == 1, "Wrong size");
|
||||||
|
|
Loading…
Reference in New Issue