diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-10 02:39:30 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-10 02:45:48 +0200 |
commit | b8c43b608030dd3e52b792d7d6efd72f39723901 (patch) | |
tree | c484fcc244d92470819efccf0ec1c6d1780f240f /src/video_core/engines/shader_bytecode.h | |
parent | Merge pull request #997 from lioncash/const-func (diff) | |
download | yuzu-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 'src/video_core/engines/shader_bytecode.h')
-rw-r--r-- | src/video_core/engines/shader_bytecode.h | 3 |
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: |