Skip to content

Commit

Permalink
Remove unneeded aliased
Browse files Browse the repository at this point in the history
  • Loading branch information
mosteo committed Feb 14, 2024
1 parent c67efb9 commit f1f7cb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/alire/alire-roots-optional.adb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ package body Alire.Roots.Optional is
-- Value --
-----------

function Value (This : aliased Root) return Reference
function Value (This : Root) return Reference
is
begin
This.Assert;
Expand Down
2 changes: 1 addition & 1 deletion src/alire/alire-roots-optional.ads
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ package Alire.Roots.Optional is
function Outside (This : Root) return Boolean;
-- True when there is no root at all, broken or valid

function Value (This : aliased Root) return Reference with
function Value (This : Root) return Reference with
Pre => This.Is_Valid;

function Brokenness (This : Root) return String with
Expand Down

0 comments on commit f1f7cb8

Please sign in to comment.