From 750d48cf8b77434e9b9a0b506c8b74e481cf7536 Mon Sep 17 00:00:00 2001 From: Braden Ganetsky Date: Thu, 22 Aug 2024 13:37:45 -0500 Subject: [PATCH] Fix missing-field-initializers error in GCC 4.8 and 4.9 --- include/boost/uuid/uuid.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/uuid/uuid.hpp b/include/boost/uuid/uuid.hpp index 4b2c165..5787904 100644 --- a/include/boost/uuid/uuid.hpp +++ b/include/boost/uuid/uuid.hpp @@ -266,7 +266,7 @@ public: node_type node_identifier() const noexcept { - node_type node = {}; + node_type node = {{}}; std::memcpy( node.data(), this->data + 10, 6 ); return node;