aboutsummaryrefslogtreecommitdiff
path: root/src/kompsos-pretty_print.adb
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2026-01-19 15:21:43 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2026-01-19 15:21:43 +1300
commitf6cc00c7e53ea5bc6fa19177bdb98ddcf25440d0 (patch)
tree6b0c302bc48801e983bca6066e1915611ca4673a /src/kompsos-pretty_print.adb
parent0c3e440a6eaf45e83654e9d8f5471e88a2eacf77 (diff)
State now uses a Vector instead of a Map
Diffstat (limited to 'src/kompsos-pretty_print.adb')
-rw-r--r--src/kompsos-pretty_print.adb6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kompsos-pretty_print.adb b/src/kompsos-pretty_print.adb
index 3a65fb9..a9ba9e2 100644
--- a/src/kompsos-pretty_print.adb
+++ b/src/kompsos-pretty_print.adb
@@ -97,10 +97,10 @@ package body Kompsos.Pretty_Print is
if Item.Actual.Is_Empty then
SU.Append (Result, Latin.HT & "N/A" & Latin.LF);
else
- for Iter in Item.Actual.Iterate loop
+ for Bind of Item.Actual loop
SU.Append (Result, Latin.HT &
- Image (Binding_Maps.Key (Iter)) & " => " &
- Image (Binding_Maps.Element (Iter)) & Latin.LF);
+ Image (Bind.Key) & " => " &
+ Image (Bind.Elem) & Latin.LF);
end loop;
end if;
return SU.To_String (Result);