diff options
| author | Ralf Stephan <ralf@ark.in-berlin.de> | 2006-03-28 08:43:49 +0000 |
|---|---|---|
| committer | rwst <rwst@users.sourceforge.net> | 2006-03-28 08:43:49 +0000 |
| commit | ecade0963967e2bf314b6f26fa31b112aaf9c633 (patch) | |
| tree | d24b12f23f1589867529dfa34015841f0957729e /src/removeoverlap | |
| parent | try to fix g++ 4.1 compile errors (diff) | |
| download | inkscape-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.h | 2 |
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; |
