aboutsummaryrefslogtreecommitdiff
path: root/src/kompsos-collector.adb
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2026-02-06 21:32:44 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2026-02-06 21:32:44 +1300
commit0b9e8a567265584f8ad5f321a38cf1f183875693 (patch)
tree970c4e4e66b6a8e5e668dc1c12f1d68a8a7a67be /src/kompsos-collector.adb
parent6bced91bd28f860d830dfda921ee5056ec93f48c (diff)
Changed the map for DOT in Pretty_Print to a Hashed_Map
Diffstat (limited to 'src/kompsos-collector.adb')
-rw-r--r--src/kompsos-collector.adb16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/kompsos-collector.adb b/src/kompsos-collector.adb
index db499f2..cca9dbd 100644
--- a/src/kompsos-collector.adb
+++ b/src/kompsos-collector.adb
@@ -9,9 +9,7 @@
with
Ada.Containers,
- Ada.Unchecked_Deallocation,
- System.Address_To_Access_Conversions,
- System.Storage_Elements;
+ Ada.Unchecked_Deallocation;
package body Kompsos.Collector is
@@ -103,18 +101,6 @@ package body Kompsos.Collector is
end "<";
- package Graph_Comp_Conv is new System.Address_To_Access_Conversions (Graph_Component);
-
- function Graph_Component_Access_Hash
- (Key : in Graph_Component_Access)
- return Ada.Containers.Hash_Type
- is
- use Ada.Containers, Graph_Comp_Conv, System.Storage_Elements;
- begin
- return Hash_Type (To_Integer (To_Address (Object_Pointer (Key))) mod Hash_Type'Modulus);
- end Graph_Component_Access_Hash;
-
-
------------------------