summaryrefslogtreecommitdiffstats
path: root/src/removeoverlap
diff options
context:
space:
mode:
authorRalf Stephan <ralf@ark.in-berlin.de>2006-03-28 08:43:49 +0000
committerrwst <rwst@users.sourceforge.net>2006-03-28 08:43:49 +0000
commitecade0963967e2bf314b6f26fa31b112aaf9c633 (patch)
treed24b12f23f1589867529dfa34015841f0957729e /src/removeoverlap
parenttry to fix g++ 4.1 compile errors (diff)
downloadinkscape-ecade0963967e2bf314b6f26fa31b112aaf9c633.tar.gz
inkscape-ecade0963967e2bf314b6f26fa31b112aaf9c633.zip
more g++ 4.1 fixes (by inkblotter)
(bzr r318)
Diffstat (limited to 'src/removeoverlap')
-rw-r--r--src/removeoverlap/constraint.h2
1 files changed, 1 insertions, 1 deletions
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;