aboutsummaryrefslogtreecommitdiff
path: root/src/squares.ads
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-04-16 15:51:58 +1200
committerJedidiah Barber <contact@jedbarber.id.au>2025-04-16 15:51:58 +1200
commitbaa3a346cde2c2c965243e554a15ed3bd6f5c7fe (patch)
treef8ec8376a6a42053e15cb9607b0fef17bb4f321d /src/squares.ads
parentb3455e502f4491af22e190a14aba9565f534bb59 (diff)
Code style improvements, constants marked as constant
Diffstat (limited to 'src/squares.ads')
-rw-r--r--src/squares.ads5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/squares.ads b/src/squares.ads
index 8a1f053..5ff9b81 100644
--- a/src/squares.ads
+++ b/src/squares.ads
@@ -40,12 +40,12 @@ package Squares is
function Get_Contents
(This : in Square)
return Things.Thing
- with Pre => Is_Walkable (This);
+ with Pre => Is_Walkable (This);
procedure Set_Contents
(This : in out Square;
Item : in Things.Thing)
- with Pre => Is_Walkable (This);
+ with Pre => Is_Walkable (This);
@@ -91,3 +91,4 @@ private
end Squares;
+