From b8451ffa325dcd44db68c630e649c6a2ddeebe96 Mon Sep 17 00:00:00 2001 From: Luc des Trois Maisons Date: Mon, 3 Aug 2026 17:17:23 -0400 Subject: [PATCH] fix: Add missing value_type to JSON iterators (#7907) --- include/xrpl/json/json_value.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/xrpl/json/json_value.h b/include/xrpl/json/json_value.h index 47ad3ac1e0..260917face 100644 --- a/include/xrpl/json/json_value.h +++ b/include/xrpl/json/json_value.h @@ -623,6 +623,7 @@ class ValueConstIterator : public ValueIteratorBase public: using size_t = unsigned int; using difference_type = int; + using value_type = Value const; using reference = Value const&; using pointer = Value const*; using SelfType = ValueConstIterator; @@ -687,6 +688,7 @@ class ValueIterator : public ValueIteratorBase public: using size_t = unsigned int; using difference_type = int; + using value_type = Value; using reference = Value&; using pointer = Value*; using SelfType = ValueIterator;