aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerghei Cebotari <serghei@cebotari.ru>2023-11-16 15:24:35 +0300
committerSerghei Cebotari <serghei@cebotari.ru>2023-11-16 15:24:35 +0300
commit15b215010bf1f343b46f71405f0b418b5ff93488 (patch)
tree453986da7096260b775e33d2a3b9ea855de3e8da
parentb87e4d71bb7b3b17b3caeaf01ef7542a59134a09 (diff)
Abstract method quick fix
-rw-r--r--MindBox.Lib/FlatShape.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/MindBox.Lib/FlatShape.cs b/MindBox.Lib/FlatShape.cs
index aa43312..d168ddd 100644
--- a/MindBox.Lib/FlatShape.cs
+++ b/MindBox.Lib/FlatShape.cs
@@ -3,8 +3,5 @@ namespace MindBox.Lib;
public abstract class FlatShape : ITwoDimensional
{
protected double? _area;
- public virtual double GetArea()
- {
- throw new NotImplementedException();
- }
+ public abstract double GetArea();
}