summaryrefslogtreecommitdiffstats
path: root/src/video_core/command_processor.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-10 02:39:30 +0200
committerLioncash <mathew1800@gmail.com>2018-08-10 02:45:48 +0200
commitb8c43b608030dd3e52b792d7d6efd72f39723901 (patch)
treec484fcc244d92470819efccf0ec1c6d1780f240f /src/video_core/command_processor.h
parentMerge pull request #997 from lioncash/const-func (diff)
downloadyuzu-b8c43b608030dd3e52b792d7d6efd72f39723901.tar
yuzu-b8c43b608030dd3e52b792d7d6efd72f39723901.tar.gz
yuzu-b8c43b608030dd3e52b792d7d6efd72f39723901.tar.bz2
yuzu-b8c43b608030dd3e52b792d7d6efd72f39723901.tar.lz
yuzu-b8c43b608030dd3e52b792d7d6efd72f39723901.tar.xz
yuzu-b8c43b608030dd3e52b792d7d6efd72f39723901.tar.zst
yuzu-b8c43b608030dd3e52b792d7d6efd72f39723901.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/command_processor.h3
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