Fixed iteration bug over null values.

This commit is contained in:
Baptiste Lepilleur
2009-11-23 22:33:30 +00:00
parent 2814f6e95b
commit a1d6c9e66a
3 changed files with 46 additions and 29 deletions

View File

@@ -917,6 +917,8 @@ public: // overridden from ValueArrayAllocator
private:
#ifndef JSON_VALUE_USE_INTERNAL_MAP
Value::ObjectValues::iterator current_;
// Indicates that iterator is for a null value.
bool isNull_;
#else
union
{