* Fix bug ID #34535, small optimization

git-svn-id: trunk@40292 -
This commit is contained in:
michael 2018-11-12 12:28:31 +00:00
parent 895139f332
commit 9b39033ed4

View File

@ -72,10 +72,7 @@ end;
function TDeque.IsEmpty():boolean;inline;
begin
if Size()=0 then
IsEmpty:=true
else
IsEmpty:=false;
IsEmpty:=Size()=0;
end;
procedure TDeque.PushBack(value:T);inline;