aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/core/src/firebase/firestore/immutable/llrb_node.h
diff options
context:
space:
mode:
Diffstat (limited to 'Firestore/core/src/firebase/firestore/immutable/llrb_node.h')
-rw-r--r--Firestore/core/src/firebase/firestore/immutable/llrb_node.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Firestore/core/src/firebase/firestore/immutable/llrb_node.h b/Firestore/core/src/firebase/firestore/immutable/llrb_node.h
index bfd0f8a..0294efe 100644
--- a/Firestore/core/src/firebase/firestore/immutable/llrb_node.h
+++ b/Firestore/core/src/firebase/firestore/immutable/llrb_node.h
@@ -20,6 +20,7 @@
#include <memory>
#include <utility>
+#include "Firestore/core/src/firebase/firestore/immutable/llrb_node_iterator.h"
#include "Firestore/core/src/firebase/firestore/immutable/sorted_map_base.h"
namespace firebase {
@@ -48,6 +49,7 @@ class LlrbNode : public SortedMapBase {
* The type of the entries stored in the map.
*/
using value_type = std::pair<K, V>;
+ using const_iterator = LlrbNodeIterator<LlrbNode<K, V>>;
/**
* Constructs an empty node.