diff options
author | joerg <joerg@pkgsrc.org> | 2013-05-12 19:16:01 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-05-12 19:16:01 +0000 |
commit | fea29bf3f8cb5b7dcb4b46cd266c7cfb433f0326 (patch) | |
tree | 691362fdb9601e26fe2fd41df9a4b90f2c3c7217 /math/qalculate-kde/patches | |
parent | 002c58ed8b3af0cf9a224a85c135d210fa968570 (diff) | |
download | pkgsrc-fea29bf3f8cb5b7dcb4b46cd266c7cfb433f0326.tar.gz |
Add const for the compare operator.
Diffstat (limited to 'math/qalculate-kde/patches')
-rw-r--r-- | math/qalculate-kde/patches/patch-src_qalculate__kde__utils.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/math/qalculate-kde/patches/patch-src_qalculate__kde__utils.h b/math/qalculate-kde/patches/patch-src_qalculate__kde__utils.h new file mode 100644 index 00000000000..d7391f33841 --- /dev/null +++ b/math/qalculate-kde/patches/patch-src_qalculate__kde__utils.h @@ -0,0 +1,13 @@ +$NetBSD: patch-src_qalculate__kde__utils.h,v 1.1 2013/05/12 19:16:01 joerg Exp $ + +--- src/qalculate_kde_utils.h.orig 2013-05-12 18:16:41.000000000 +0000 ++++ src/qalculate_kde_utils.h +@@ -46,7 +46,7 @@ struct tree_struct { + it->sort(); + } + } +- bool operator < (tree_struct &s1) const { ++ bool operator < (const tree_struct &s1) const { + return item < s1.item; + } + }; |