diff options
author | Lioncash <mathew1800@gmail.com> | 2018-04-28 21:24:41 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-04-28 21:31:23 +0200 |
commit | 5d9ee12b1a175b14e35f620e7657a424c5842d80 (patch) | |
tree | 6765d5849f048cee4f8cf14589f8be5904d53646 /src | |
parent | Merge pull request #412 from lioncash/log (diff) | |
download | yuzu-5d9ee12b1a175b14e35f620e7657a424c5842d80.tar yuzu-5d9ee12b1a175b14e35f620e7657a424c5842d80.tar.gz yuzu-5d9ee12b1a175b14e35f620e7657a424c5842d80.tar.bz2 yuzu-5d9ee12b1a175b14e35f620e7657a424c5842d80.tar.lz yuzu-5d9ee12b1a175b14e35f620e7657a424c5842d80.tar.xz yuzu-5d9ee12b1a175b14e35f620e7657a424c5842d80.tar.zst yuzu-5d9ee12b1a175b14e35f620e7657a424c5842d80.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/common/file_util.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/common/file_util.h b/src/common/file_util.h index 143f099eb..4c11849ee 100644 --- a/src/common/file_util.h +++ b/src/common/file_util.h @@ -170,12 +170,8 @@ public: template <typename T> size_t ReadArray(T* data, size_t length) { - static_assert(std::is_standard_layout<T>(), - "Given array does not consist of standard layout objects"); -#if (__GNUC__ >= 5) || defined(__clang__) || defined(_MSC_VER) static_assert(std::is_trivially_copyable<T>(), "Given array does not consist of trivially copyable objects"); -#endif if (!IsOpen()) { m_good = false; @@ -191,12 +187,8 @@ public: template <typename T> size_t WriteArray(const T* data, size_t length) { - static_assert(std::is_standard_layout<T>(), - "Given array does not consist of standard layout objects"); -#if (__GNUC__ >= 5) || defined(__clang__) || defined(_MSC_VER) static_assert(std::is_trivially_copyable<T>(), "Given array does not consist of trivially copyable objects"); -#endif if (!IsOpen()) { m_good = false; |