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:
Clemens Zeidler 2010-11-29 21:08:26 +00:00
parent 59c3263165
commit e7de22dcff
2 changed files with 1 additions and 5 deletions

View File

@ -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;
};

View File

@ -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);
}