From d0bde3c60fa911ac0bb0f71ce2a6a963c874392e Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Fri, 13 Jan 2023 14:52:41 -0500 Subject: Everything works before validation --- rectangle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rectangle.h') diff --git a/rectangle.h b/rectangle.h index 0c85119..59b990b 100644 --- a/rectangle.h +++ b/rectangle.h @@ -8,7 +8,7 @@ class Rectangle:public Forme{ int largeur; int hauteur; public: - Rectangle(int x, int y, int l, int h); + Rectangle(int x=0, int y=0, int l=1, int h=1); ~Rectangle(); int getLargeur(); int getHauteur(); -- cgit v1.2.3