aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/engines/shader_bytecode.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-11 14:08:12 -0400
committerGitHub <noreply@github.com>2018-08-11 14:08:12 -0400
commitb8b9f41b6b3488de84877d34453ca6a0338aeeaf (patch)
treeb641ce5b4b3732439b324321d2ddc7cf079edc0c /src/video_core/engines/shader_bytecode.h
parentdfcde52f3933bab397fc8619ede00383f4a7e5e2 (diff)
parentb8c43b608030dd3e52b792d7d6efd72f39723901 (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/engines/shader_bytecode.h')
-rw-r--r--src/video_core/engines/shader_bytecode.h3
1 files changed, 1 insertions, 2 deletions
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<Instruction>::value,
- "Structure does not have standard layout");
+static_assert(std::is_standard_layout_v<Instruction>, "Instruction is not standard layout");
class OpCode {
public: