mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-06 12:21:54 +00:00
Use std::is_trivial not std::is_standard_layout for checking memset'able
This commit is contained in:
1 file changed
+1
-1
@@ -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