File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
- '2.0.4781 '
1
+ '2.0.4782 '
Original file line number Diff line number Diff line change @@ -10533,7 +10533,7 @@ procedure TOrmCacheEntry.LockedFlushCacheEntry(Index: integer);
10533
10533
end ;
10534
10534
end ;
10535
10535
10536
- function SortFind (P: TOrmCacheEntryValueDynArray; V: TID; R: PtrInt): PtrInt;
10536
+ function SortFind (const P: TOrmCacheEntryValueDynArray; V: TID; R: PtrInt): PtrInt;
10537
10537
var
10538
10538
m, L: PtrInt;
10539
10539
res: integer;
@@ -10563,7 +10563,7 @@ procedure TOrmCacheEntry.FlushCacheEntry(aID: TID);
10563
10563
Safe.WriteLock;
10564
10564
try
10565
10565
if Value <> nil then
10566
- LockedFlushCacheEntry(SortFind(pointer( Value ) , aID, Count));
10566
+ LockedFlushCacheEntry(SortFind(Value , aID, Count));
10567
10567
finally
10568
10568
Safe.WriteUnLock;
10569
10569
end ;
@@ -10579,7 +10579,7 @@ procedure TOrmCacheEntry.FlushCacheEntries(const aID: array of TID);
10579
10579
try
10580
10580
if Value <> nil then
10581
10581
for i := 0 to high(aID) do
10582
- LockedFlushCacheEntry(SortFind(pointer( Value ) , aID[i], Count));
10582
+ LockedFlushCacheEntry(SortFind(Value , aID[i], Count));
10583
10583
finally
10584
10584
Safe.WriteUnLock;
10585
10585
end ;
@@ -10722,7 +10722,7 @@ function TOrmCacheEntry.RetrieveEntry(aID: TID): POrmCacheEntryValue;
10722
10722
result := nil ;
10723
10723
if Value = nil then
10724
10724
exit;
10725
- i := SortFind(pointer( Value ) , aID, Count);
10725
+ i := SortFind(Value , aID, Count);
10726
10726
if i < 0 then
10727
10727
exit;
10728
10728
result := @Value [i];
You can’t perform that action at this time.
0 commit comments