mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-10-14 23:07:55 +02:00
Fixed iteration bug over null values.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user