From 75eae5b4fa049aaf8bb9c88f5ed4fa48015e36e6 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Fri, 20 Apr 2012 18:07:16 +1000 Subject: [PATCH] Make json::object iterator public --- json.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/json.hpp b/json.hpp index 9b23fc00..8eecb5ad 100644 --- a/json.hpp +++ b/json.hpp @@ -88,13 +88,14 @@ namespace json { class object : public node { protected: typedef std::map> value_store; + public: typedef value_store::iterator iterator; typedef value_store::const_iterator const_iterator; + protected: value_store m_values; public: - object () { ; } virtual ~object (); virtual const object& as_object (void) const { return *this; }