Explorar el Código

* correctly declare the return value of TPKeyEnumerator.GetCurrent as PKey instead of TKey

git-svn-id: trunk@43420 -
svenbarth hace 5 años
padre
commit
9e7f16f912
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/rtl-generics/src/inc/generics.dictionaries.inc

+ 1 - 1
packages/rtl-generics/src/inc/generics.dictionaries.inc

@@ -2163,7 +2163,7 @@ end;
 
 { TDeamortizedDArrayCuckooMap<CUCKOO_CONSTRAINTS>.TPKeyEnumerator }
 
-function TDeamortizedDArrayCuckooMap<CUCKOO_CONSTRAINTS>.TPKeyEnumerator.GetCurrent: TKey;
+function TDeamortizedDArrayCuckooMap<CUCKOO_CONSTRAINTS>.TPKeyEnumerator.GetCurrent: PKey;
 begin
   if FMainIndex = TCuckooCfg.D then
     Result := @(TDeamortizedDArrayCuckooMap<CUCKOO_CONSTRAINTS>(FDictionary).FQueue.FItems[FIndex].Pair.Value.Pair.Key)