Remove BALM::Area::fConstraints field, which is not needed.

It's easier to just delete all the constraints in the dtor, the ones that
wouldn't have been in fConstraints are NULL at this point anyway.
This commit is contained in:
Alex Wilson
2012-05-03 08:44:39 +12:00
parent 895414da9d
commit 20cc993ab5
2 changed files with 9 additions and 23 deletions
-2
View File
@@ -6,7 +6,6 @@
#define AREA_H
#include <ObjectList.h>
#include <Referenceable.h>
#include <Rect.h>
#include <Size.h>
@@ -137,7 +136,6 @@ private:
double fContentAspectRatio;
RowColumnManager* fRowColumnManager;
BObjectList<LinearProgramming::Constraint> fConstraints;
LinearProgramming::Constraint* fMinContentWidth;
LinearProgramming::Constraint* fMaxContentWidth;
LinearProgramming::Constraint* fMinContentHeight;