From ecade0963967e2bf314b6f26fa31b112aaf9c633 Mon Sep 17 00:00:00 2001 From: Ralf Stephan Date: Tue, 28 Mar 2006 08:43:49 +0000 Subject: more g++ 4.1 fixes (by inkblotter) (bzr r318) --- src/removeoverlap/constraint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/removeoverlap') diff --git a/src/removeoverlap/constraint.h b/src/removeoverlap/constraint.h index c8273376b..de8ccebd4 100644 --- a/src/removeoverlap/constraint.h +++ b/src/removeoverlap/constraint.h @@ -25,7 +25,7 @@ public: double lm; Constraint(Variable *left, Variable *right, double gap); ~Constraint(void){}; - inline double Constraint::slack() const { return right->position() - gap - left->position(); } + inline double slack() const { return right->position() - gap - left->position(); } //inline bool operator<(Constraint const &o) const { return slack() < o.slack(); } long timeStamp; bool active; -- cgit v1.2.3