Fix build

This commit is contained in:
jmsgrogan 2022-05-15 16:14:04 +01:00
parent c1389218f2
commit 160b746182
8 changed files with 22 additions and 5 deletions

View file

@ -7,7 +7,9 @@ class AbstractGeometricItem
{
public:
Rectangle GetBounds() const = 0;
virtual ~AbstractGeometricItem() = default;
void Sample(Grid* grid) const = 0;
//Rectangle GetBounds() const = 0;
virtual void Sample(Grid* grid) const = 0;
};

View file

@ -14,7 +14,7 @@ public:
}
Rectangle GetBounds() const override
Rectangle GetBounds() const
{
return Rectangle(mBottomLeft, mTopRight);
}