Skip to content

Commit e36e982

Browse files
authored
Merge pull request #2 from LainLayer/fix_gcc13_garbage
fixed bizzare gcc13 ada warnings and error
2 parents 82c2d35 + 71d9741 commit e36e982

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

eepers.adb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,11 @@ procedure Eepers is
158158
X, Y: Integer;
159159
end record;
160160

161+
function "="(A, B: IVector2) return Boolean is
162+
begin
163+
return A.X = B.X and then A.Y = B.Y;
164+
end;
165+
161166
type Cell is (Cell_None, Cell_Floor, Cell_Wall, Cell_Barricade, Cell_Door, Cell_Explosion);
162167
Cell_Size : constant Vector2 := (x => 50.0, y => 50.0);
163168

@@ -190,11 +195,6 @@ procedure Eepers is
190195
return A.X < B.X and then A.Y < B.Y;
191196
end;
192197

193-
function "="(A, B: IVector2) return Boolean is
194-
begin
195-
return A.X = B.X and then A.Y = B.Y;
196-
end;
197-
198198
function "+"(A, B: IVector2) return IVector2 is
199199
begin
200200
return (A.X + B.X, A.Y + B.Y);

0 commit comments

Comments
 (0)