瀏覽代碼

* Do not raise an error when an attempt is made to delete a non-existing key

git-svn-id: trunk@12326 -
michael 16 年之前
父節點
當前提交
977e033932
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      packages/fcl-base/src/contnrs.pp

+ 0 - 1
packages/fcl-base/src/contnrs.pp

@@ -2112,7 +2112,6 @@ begin
         exit;
       end;
   end;
-  raise EKeyNotFound.CreateFmt(KeyNotFoundMsg, ['Delete', aKey]);
 end;
 
 function TFPCustomHashTable.IsEmpty: boolean;