| 1 |
package body Opt75_Pkg is |
| 2 |
|
| 3 |
overriding procedure Adjust (Object : in out T) is |
| 4 |
begin |
| 5 |
if Object.Ref /= Empty_Rec'Access then |
| 6 |
System.Atomic_Counters.Increment (Object.Ref.Counter); |
| 7 |
end if; |
| 8 |
end; |
| 9 |
|
| 10 |
A : constant Arr := (others => (others => Empty)); |
| 11 |
|
| 12 |
end Opt75_Pkg; |