diff options
Diffstat (limited to 'gcc/ada/a-cihase.adb')
-rw-r--r-- | gcc/ada/a-cihase.adb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ada/a-cihase.adb b/gcc/ada/a-cihase.adb index 12acb459eb5..8de25a84efc 100644 --- a/gcc/ada/a-cihase.adb +++ b/gcc/ada/a-cihase.adb @@ -7,7 +7,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 2004-2006, Free Software Foundation, Inc. -- +-- Copyright (C) 2004-2007, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -340,7 +340,7 @@ package body Ada.Containers.Indefinite_Hashed_Sets is declare Size : constant Hash_Type := Prime_Numbers.To_Prime (Left.Length); begin - Buckets := new Buckets_Type (0 .. Size - 1); + Buckets := HT_Ops.New_Buckets (Length => Size); end; Length := 0; @@ -817,7 +817,7 @@ package body Ada.Containers.Indefinite_Hashed_Sets is declare Size : constant Hash_Type := Prime_Numbers.To_Prime (Length); begin - Buckets := new Buckets_Type (0 .. Size - 1); + Buckets := HT_Ops.New_Buckets (Length => Size); end; Length := 0; @@ -1372,7 +1372,7 @@ package body Ada.Containers.Indefinite_Hashed_Sets is Size : constant Hash_Type := Prime_Numbers.To_Prime (Left.Length + Right.Length); begin - Buckets := new Buckets_Type (0 .. Size - 1); + Buckets := HT_Ops.New_Buckets (Length => Size); end; Length := 0; @@ -1574,7 +1574,7 @@ package body Ada.Containers.Indefinite_Hashed_Sets is Size : constant Hash_Type := Prime_Numbers.To_Prime (Left.Length + Right.Length); begin - Buckets := new Buckets_Type (0 .. Size - 1); + Buckets := HT_Ops.New_Buckets (Length => Size); end; Iterate_Left : declare |