diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2023-01-13 14:52:41 -0500 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2023-01-13 14:52:41 -0500 |
commit | d0bde3c60fa911ac0bb0f71ce2a6a963c874392e (patch) | |
tree | ddcc00fab2749cc7b4110eed9f69189b6fcc7422 /rectangle.h | |
parent | 3fb8effa3603e9a9b96d263009fc1397433436ba (diff) |
Everything works before validation
Diffstat (limited to 'rectangle.h')
-rw-r--r-- | rectangle.h | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |