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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user