mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-12 06:47:58 -05:00
video_core: Use variable template variants of type_traits interfaces where applicable
This commit is contained in:
@ -30,8 +30,7 @@ union CommandHeader {
|
||||
|
||||
BitField<29, 3, SubmissionMode> mode;
|
||||
};
|
||||
static_assert(std::is_standard_layout<CommandHeader>::value == true,
|
||||
"CommandHeader does not use standard layout");
|
||||
static_assert(std::is_standard_layout_v<CommandHeader>, "CommandHeader is not standard layout");
|
||||
static_assert(sizeof(CommandHeader) == sizeof(u32), "CommandHeader has incorrect size!");
|
||||
|
||||
} // namespace Tegra
|
||||
|
Reference in New Issue
Block a user