Revert "msvc: temporary workaround for C4789 false positive"

This reverts commit deb73d0167.
This commit is contained in:
Shawn Hoffman 2021-01-09 19:22:36 -08:00
parent c8316f70a4
commit cce275c16e
1 changed files with 1 additions and 2 deletions

View File

@ -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");