From 3eb1fb6be7dd4105f8f66c8d63dfc4f5e36bf147 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Fri, 6 Aug 2021 13:26:00 +0200 Subject: [PATCH] :recycle: change type of binary subtype --- include/nlohmann/byte_container_with_subtype.hpp | 2 +- single_include/nlohmann/json.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/nlohmann/byte_container_with_subtype.hpp b/include/nlohmann/byte_container_with_subtype.hpp index b9a1faf3e..ffbacdc6d 100644 --- a/include/nlohmann/byte_container_with_subtype.hpp +++ b/include/nlohmann/byte_container_with_subtype.hpp @@ -27,7 +27,7 @@ class byte_container_with_subtype : public BinaryType /// the type of the underlying container using container_type = BinaryType; /// the type of the subtype - using subtype_type = std::uint8_t; + using subtype_type = std::uint64_t; byte_container_with_subtype() noexcept(noexcept(container_type())) : container_type() diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index 6efa460ee..3fcf708b1 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -4983,7 +4983,7 @@ class byte_container_with_subtype : public BinaryType /// the type of the underlying container using container_type = BinaryType; /// the type of the subtype - using subtype_type = std::uint8_t; + using subtype_type = std::uint64_t; byte_container_with_subtype() noexcept(noexcept(container_type())) : container_type()