aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/poison.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdbsupport/poison.h')
-rw-r--r--gdbsupport/poison.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbsupport/poison.h b/gdbsupport/poison.h
index 956c3d8..63fccb3 100644
--- a/gdbsupport/poison.h
+++ b/gdbsupport/poison.h
@@ -49,7 +49,7 @@ be a compile-time error. */
template<typename T>
struct IsMemsettable
: gdb::Or<std::is_void<T>,
- std::is_pod<T>>
+ gdb::And<std::is_standard_layout<T>, std::is_trivial<T>>>
{};
template <typename T,