diff options
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | Polymorphism/Figures/Rectangle.hpp | 2 |
diff --git a/Polymorphism/Figures/Rectangle.hpp b/Polymorphism/Figures/Rectangle.hpp index 99b4b50..7021886 100644 --- a/Polymorphism/Figures/Rectangle.hpp +++ b/Polymorphism/Figures/Rectangle.hpp @@ -15,6 +15,6 @@ public: }
double getArea()
{
- return getPoint(0).getDistTo(getPoint(1))* getPoint(1).getDistTo(getPoint(2));
+ return getPoint(0).getDistTo(getPoint(1))* getPoint(1).getDistTo(getPoint(2));
}
};
|
