mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-16 23:10:54 +00:00
Use std::is_trivial not std::is_standard_layout for checking memset'able
This commit is contained in:
@@ -89,7 +89,7 @@ struct null_terminator<char>
|
||||
inline static void fixup(char *elems, size_t count) { elems[count] = 0; }
|
||||
};
|
||||
|
||||
template <typename T, bool isStd = std::is_standard_layout<T>::value>
|
||||
template <typename T, bool isStd = std::is_trivial<T>::value>
|
||||
struct ItemHelper
|
||||
{
|
||||
static void initRange(T *first, int32_t count)
|
||||
|
||||
Reference in New Issue
Block a user