VirtualBox

Changeset 74525 in vbox for trunk/src


Ignore:
Timestamp:
Sep 28, 2018 2:46:09 PM (6 years ago)
Author:
vboxsync
Message:

IPRT/rest: RTCRestStringMapBase::deserializeFromJson - fix edito,
deserialize from subcursor that points into the object, not from the
original cursor that still points to the whole object.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/rest/RTCRestStringMapBase.cpp

    r74425 r74525  
    142142                /* Call the static deserializeInstanceFromJson method of the value class.  */
    143143                RTCRestObjectBase *pObj = NULL;
    144                 rc = deserializeValueInstanceFromJson(a_rCursor, &pObj);
     144                rc = deserializeValueInstanceFromJson(SubCursor, &pObj);
    145145                if (RT_SUCCESS(rc))
    146146                    Assert(pObj);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette