mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-03 23:48:59 +08:00
15 lines
564 B
Diff
15 lines
564 B
Diff
diff --git a/util/misc/uuid.cc b/util/misc/uuid.cc
|
|
index 3013d7b..4cc135f 100644
|
|
--- a/util/misc/uuid.cc
|
|
+++ b/util/misc/uuid.cc
|
|
@@ -41,7 +41,8 @@
|
|
namespace crashpad {
|
|
|
|
static_assert(sizeof(UUID) == 16, "UUID must be 16 bytes");
|
|
-static_assert(std::is_pod<UUID>::value, "UUID must be POD");
|
|
+static_assert(std::is_standard_layout<UUID>::value, "UUID must be a standard-layout type");
|
|
+static_assert(std::is_trivial<UUID>::value, "UUID must be a trivial type");
|
|
|
|
bool UUID::operator==(const UUID& that) const {
|
|
return memcmp(this, &that, sizeof(*this)) == 0;
|