From fea29bf3f8cb5b7dcb4b46cd266c7cfb433f0326 Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 12 May 2013 19:16:01 +0000 Subject: Add const for the compare operator. --- .../qalculate-kde/patches/patch-src_qalculate__kde__utils.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 math/qalculate-kde/patches/patch-src_qalculate__kde__utils.h (limited to 'math/qalculate-kde/patches') 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; + } + }; -- cgit v1.2.3