summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/ir/value.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-07-26 10:11:13 +0200
committerLioncash <mathew1800@gmail.com>2021-07-26 10:23:59 +0200
commit06ca911621eaea236daf8d5eed3a4289489fd5cf (patch)
treeb4d776578e94e6a7971d852dd308caa88a75c031 /src/shader_recompiler/frontend/ir/value.h
parentMerge pull request #6575 from FernandoS27/new_settings (diff)
downloadyuzu-06ca911621eaea236daf8d5eed3a4289489fd5cf.tar
yuzu-06ca911621eaea236daf8d5eed3a4289489fd5cf.tar.gz
yuzu-06ca911621eaea236daf8d5eed3a4289489fd5cf.tar.bz2
yuzu-06ca911621eaea236daf8d5eed3a4289489fd5cf.tar.lz
yuzu-06ca911621eaea236daf8d5eed3a4289489fd5cf.tar.xz
yuzu-06ca911621eaea236daf8d5eed3a4289489fd5cf.tar.zst
yuzu-06ca911621eaea236daf8d5eed3a4289489fd5cf.zip
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/frontend/ir/value.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/frontend/ir/value.h b/src/shader_recompiler/frontend/ir/value.h
index 0c6bf684d..795194d41 100644
--- a/src/shader_recompiler/frontend/ir/value.h
+++ b/src/shader_recompiler/frontend/ir/value.h
@@ -197,8 +197,8 @@ public:
}
template <typename FlagsType>
- requires(sizeof(FlagsType) <= sizeof(u32) && std::is_trivially_copyable_v<FlagsType>)
- [[nodiscard]] void SetFlags(FlagsType value) noexcept {
+ requires(sizeof(FlagsType) <= sizeof(u32) &&
+ std::is_trivially_copyable_v<FlagsType>) void SetFlags(FlagsType value) noexcept {
std::memcpy(&flags, &value, sizeof(value));
}