pkgsrc/math/qalculate-units/patches/patch-src_qalcunits.cc
2013-05-12 19:16:01 +00:00

13 lines
348 B
C++

$NetBSD: patch-src_qalcunits.cc,v 1.1 2013/05/12 19:16:01 joerg Exp $
--- src/qalcunits.cc.orig 2013-05-12 18:20:09.000000000 +0000
+++ src/qalcunits.cc
@@ -81,7 +81,7 @@ struct tree_struct {
it->sort();
}
}
- bool operator < (tree_struct &s1) const {
+ bool operator < (const tree_struct &s1) const {
return item < s1.item;
}
};