Skip to content

Commit 5c9490e

Browse files
committed
Fix Win32 error C2039: 'GetObjectA': is not a member of rapidjson::GenericValue
1 parent 8d9c153 commit 5c9490e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

proto/fbe_json.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ struct ChildNodeReader
953953
return false;
954954

955955
// Deserialize the child object
956-
return FBE::JSON::from_json(member->value.GetObject(), value);
956+
return FBE::JSON::from_json(member->value.GetObj(), value);
957957
}
958958
};
959959

source/generator_cpp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6277,7 +6277,7 @@ struct ChildNodeReader
62776277
return false;
62786278
62796279
// Deserialize the child object
6280-
return FBE::JSON::from_json(member->value.GetObject(), value);
6280+
return FBE::JSON::from_json(member->value.GetObj(), value);
62816281
}
62826282
};
62836283

0 commit comments

Comments
 (0)