fUsingSummands was never used so remove it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39679 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
59c3263165
commit
e7de22dcff
@ -61,8 +61,6 @@ protected:
|
||||
private:
|
||||
LinearSpec* fLS;
|
||||
|
||||
BObjectList<Summand> fUsingSummands;
|
||||
// All Summands that link to this Variable
|
||||
double fValue;
|
||||
double fMin;
|
||||
double fMax;
|
||||
@ -72,7 +70,6 @@ private:
|
||||
|
||||
public:
|
||||
friend class LinearSpec;
|
||||
friend class Summand;
|
||||
};
|
||||
|
||||
|
||||
|
@ -62,7 +62,7 @@ Summand::SetVar(Variable* var)
|
||||
*/
|
||||
Summand::~Summand()
|
||||
{
|
||||
fVar->fUsingSummands.RemoveItem(this);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -74,5 +74,4 @@ Summand::Summand(double coeff, Variable* var)
|
||||
fCoeff = coeff;
|
||||
fVar = var;
|
||||
fUsedInPenaltyFunction = false;
|
||||
fVar->fUsingSummands.AddItem(this);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user