We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74c7bce commit 6de4b51Copy full SHA for 6de4b51
courses/fundamentals_of_ada/260_controlled_types/10-idiom_refcounting.rst
@@ -57,6 +57,7 @@ Implementation Details
57
- Clears up any previously used :ada:`Ref`
58
59
.. code:: Ada
60
+
61
is
62
D : constant Refcounted_Access := new Refcounted'Class'(Data);
63
begin
@@ -84,7 +85,6 @@ Implementation Details
84
85
86
87
-
88
if P.Data /= null then
89
P.Data.Refcount := P.Data.Refcount + 1;
90
end if;
0 commit comments