File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1157,15 +1157,15 @@ class ReflectionContext
1157
1157
reinterpret_cast <const ConcurrentHashMap<Runtime> *>(MapBytes.get ());
1158
1158
1159
1159
auto Count = MapData->ElementCount ;
1160
- auto Size = Count * sizeof (ConformanceCacheEntry<Runtime>);
1160
+ auto Size = Count * sizeof (ConformanceCacheEntry<Runtime>) + sizeof (StoredPointer) ;
1161
1161
1162
1162
auto ElementsBytes =
1163
1163
getReader ().readBytes (RemoteAddress (MapData->Elements ), Size);
1164
1164
if (!ElementsBytes)
1165
1165
return ;
1166
1166
auto ElementsData =
1167
1167
reinterpret_cast <const ConformanceCacheEntry<Runtime> *>(
1168
- ElementsBytes.get ());
1168
+ reinterpret_cast < const char *>( ElementsBytes.get ()) + sizeof (StoredPointer ));
1169
1169
1170
1170
for (StoredSize i = 0 ; i < Count; i++) {
1171
1171
auto &Element = ElementsData[i];
You can’t perform that action at this time.
0 commit comments