From b8c43b608030dd3e52b792d7d6efd72f39723901 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 9 Aug 2018 20:39:30 -0400 Subject: video_core: Use variable template variants of type_traits interfaces where applicable --- src/video_core/engines/shader_bytecode.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/video_core/engines') diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index 3d4557b7e..3e409c2e1 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -477,8 +477,7 @@ union Instruction { u64 value; }; static_assert(sizeof(Instruction) == 0x8, "Incorrect structure size"); -static_assert(std::is_standard_layout::value, - "Structure does not have standard layout"); +static_assert(std::is_standard_layout_v, "Instruction is not standard layout"); class OpCode { public: -- cgit v1.2.3