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.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'rectangle.cpp') diff --git a/rectangle.cpp b/rectangle.cpp index f1d23da..a70bfe4 100644 --- a/rectangle.cpp +++ b/rectangle.cpp @@ -1,8 +1,6 @@ #include "rectangle.h" -Rectangle::Rectangle(int x, int y, int w, int h){ - Coordonnee xy = {x, y}; - setAncrage(xy); +Rectangle::Rectangle(int x, int y, int w, int h):Forme(x, y){ setLargeur(w); setHauteur(h); }; -- cgit v1.2.3