diff options
| author | bunnei <bunneidev@gmail.com> | 2018-08-11 14:08:12 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-11 14:08:12 -0400 |
| commit | b8b9f41b6b3488de84877d34453ca6a0338aeeaf (patch) | |
| tree | b641ce5b4b3732439b324321d2ddc7cf079edc0c /src/video_core/command_processor.h | |
| parent | dfcde52f3933bab397fc8619ede00383f4a7e5e2 (diff) | |
| parent | b8c43b608030dd3e52b792d7d6efd72f39723901 (diff) | |
Merge pull request #1003 from lioncash/var
video_core: Use variable template variants of type_traits interfaces where applicable
Diffstat (limited to 'src/video_core/command_processor.h')
| -rw-r--r-- | src/video_core/command_processor.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/command_processor.h b/src/video_core/command_processor.h index f7214ffec..a01153e0b 100644 --- a/src/video_core/command_processor.h +++ b/src/video_core/command_processor.h @@ -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 |
