summaryrefslogtreecommitdiff
path: root/rectangle.h
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-01-13 14:52:41 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2023-01-13 14:52:41 -0500
commitd0bde3c60fa911ac0bb0f71ce2a6a963c874392e (patch)
treeddcc00fab2749cc7b4110eed9f69189b6fcc7422 /rectangle.h
parent3fb8effa3603e9a9b96d263009fc1397433436ba (diff)
Everything works before validation
Diffstat (limited to 'rectangle.h')
-rw-r--r--rectangle.h2
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();