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
11571157 reinterpret_cast <const ConcurrentHashMap<Runtime> *>(MapBytes.get ());
11581158
11591159 auto Count = MapData->ElementCount ;
1160- auto Size = Count * sizeof (ConformanceCacheEntry<Runtime>);
1160+ auto Size = Count * sizeof (ConformanceCacheEntry<Runtime>) + sizeof (StoredPointer) ;
11611161
11621162 auto ElementsBytes =
11631163 getReader ().readBytes (RemoteAddress (MapData->Elements ), Size);
11641164 if (!ElementsBytes)
11651165 return ;
11661166 auto ElementsData =
11671167 reinterpret_cast <const ConformanceCacheEntry<Runtime> *>(
1168- ElementsBytes.get ());
1168+ reinterpret_cast < const char *>( ElementsBytes.get ()) + sizeof (StoredPointer ));
11691169
11701170 for (StoredSize i = 0 ; i < Count; i++) {
11711171 auto &Element = ElementsData[i];
You can’t perform that action at this time.
0 commit comments