mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-13 17:03:01 +02:00
Debugger: fix testcase for copying WatchValues in assign.
This commit is contained in:
parent
188d3cdd8a
commit
9d2d89d0bb
@ -101,14 +101,13 @@ type
|
||||
const AThreadId: Integer;
|
||||
const AStackFrame: Integer
|
||||
);
|
||||
constructor Create(AOwnerWatch: TWatch);
|
||||
constructor Create(AOwnerWatch: TWatch); override;
|
||||
end;
|
||||
|
||||
{ TTestWatchValueList }
|
||||
|
||||
TTestWatchValueList = class(TWatchValueList)
|
||||
protected
|
||||
function CopyEntry(AnEntry: TWatchValue): TWatchValue; override;
|
||||
function CreateEntry(const {%H-}AThreadId: Integer; const {%H-}AStackFrame: Integer): TWatchValue; override;
|
||||
end;
|
||||
|
||||
@ -517,12 +516,6 @@ end;
|
||||
|
||||
{ TTestWatchValueList }
|
||||
|
||||
function TTestWatchValueList.CopyEntry(AnEntry: TWatchValue): TWatchValue;
|
||||
begin
|
||||
Result := TTestWatchValue.Create(Watch);
|
||||
Result.Assign(AnEntry);
|
||||
end;
|
||||
|
||||
function TTestWatchValueList.CreateEntry(const AThreadId: Integer;
|
||||
const AStackFrame: Integer): TWatchValue;
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user