summaryrefslogtreecommitdiffstats
path: root/src/removeoverlap/pairingheap
diff options
context:
space:
mode:
authorTim Dwyer <tgdwyer@gmail.com>2006-01-26 05:32:20 +0000
committertgdwyer <tgdwyer@users.sourceforge.net>2006-01-26 05:32:20 +0000
commitbd5d4e5d36392293eeb966cfdf4b68cca2099a9f (patch)
tree844ef674a2ce640ced96538258264f1e5003535c /src/removeoverlap/pairingheap
parentfix silly bug - was unable to flip by scaling (diff)
downloadinkscape-bd5d4e5d36392293eeb966cfdf4b68cca2099a9f.tar.gz
inkscape-bd5d4e5d36392293eeb966cfdf4b68cca2099a9f.zip
Fixed bug to do with comparison of invalid constraints in pairing heaps.
Also numerical problem with constraint generation fixed. (bzr r30)
Diffstat (limited to 'src/removeoverlap/pairingheap')
-rw-r--r--src/removeoverlap/pairingheap/PairingHeap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/removeoverlap/pairingheap/PairingHeap.h b/src/removeoverlap/pairingheap/PairingHeap.h
index 586a591a8..2f68c2b6f 100644
--- a/src/removeoverlap/pairingheap/PairingHeap.h
+++ b/src/removeoverlap/pairingheap/PairingHeap.h
@@ -57,7 +57,7 @@ template <class T>
class Comparator
{
public:
- virtual bool isLessThan(const T &lhs, const T &rhs) const = 0;
+ virtual bool isLessThan(T &lhs, T &rhs) const = 0;
};
template <class T>