Code

Added consts to args of pairing heap compare fn
[inkscape.git] / src / removeoverlap / pairingheap / PairingHeap.cpp
index 9c67f44fa30b225016a1273e818d93b02369cb29..e0db8fdaf2889452487abf008040efc03a00c120 100644 (file)
@@ -28,7 +28,7 @@ using namespace std;
 * Construct the pairing heap.
 */
 template <class T>
-PairingHeap<T>::PairingHeap( bool (*lessThan)(T &lhs, T &rhs) )
+PairingHeap<T>::PairingHeap( bool (*lessThan)(T const &lhs, T const &rhs) )
 {
        root = NULL;
        counter=0;