diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-10-26 06:41:54 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-10-26 06:41:54 +0200 |
commit | 8b4d5aeb4f01348312ca38555d7951ff54b23fc3 (patch) | |
tree | f8df340674b1480f3e0f53a9d21b7fa6fbb350f3 /src/core/hle/kernel | |
parent | Merge pull request #9128 from abouvier/patch-1 (diff) | |
download | yuzu-8b4d5aeb4f01348312ca38555d7951ff54b23fc3.tar yuzu-8b4d5aeb4f01348312ca38555d7951ff54b23fc3.tar.gz yuzu-8b4d5aeb4f01348312ca38555d7951ff54b23fc3.tar.bz2 yuzu-8b4d5aeb4f01348312ca38555d7951ff54b23fc3.tar.lz yuzu-8b4d5aeb4f01348312ca38555d7951ff54b23fc3.tar.xz yuzu-8b4d5aeb4f01348312ca38555d7951ff54b23fc3.tar.zst yuzu-8b4d5aeb4f01348312ca38555d7951ff54b23fc3.zip |
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r-- | src/core/hle/kernel/hle_ipc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/hle_ipc.h b/src/core/hle/kernel/hle_ipc.h index a0522bca0..1083638a9 100644 --- a/src/core/hle/kernel/hle_ipc.h +++ b/src/core/hle/kernel/hle_ipc.h @@ -304,7 +304,7 @@ public: */ template <typename T, typename = std::enable_if_t<!std::is_pointer_v<T>>> std::size_t WriteBuffer(const T& data, std::size_t buffer_index = 0) const { - if constexpr (Common::IsSTLContainer<T>) { + if constexpr (Common::IsContiguousContainer<T>) { using ContiguousType = typename T::value_type; static_assert(std::is_trivially_copyable_v<ContiguousType>, "Container to WriteBuffer must contain trivially copyable objects"); |