Ignore:
Timestamp:
Nov 19, 2012, 2:47:07 PM (12 years ago)
Author:
chronos
Message:
  • Fixed: Wrong memory inicialization in TListObject results in error during other object assignment.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Generics/TemplateGenerics/Specialized/SpecializedList.pas

    r426 r441  
    6767  procedure AddStream(Stream: TStream);
    6868  procedure AddStreamPart(Stream: TStream; ItemCount: TGListIndex);
    69   procedure WriteBuffer(var Buffer; Count: Integer);
    70   procedure ReadBuffer(var Buffer; Count: Integer);
    7169end;
    7270
     
    333331  I: TGListIndex;
    334332begin
    335   I := 0;
    336   while (I < Count) do begin
     333  I := Count - 1;
     334  while (I >= 0) do begin
    337335    TNotifyEvent(Items[I])(Sender);
    338     I := I + 1;
     336    I := I - 1;
    339337  end;
    340338end;
     
    414412end;
    415413
    416 procedure TListByte.WriteBuffer(var Buffer; Count: Integer);
    417 begin
    418 
    419 end;
    420 
    421 procedure TListByte.ReadBuffer(var Buffer; Count: Integer);
    422 begin
    423 
    424 end;
    425 
    426414
    427415end.
Note: See TracChangeset for help on using the changeset viewer.