diff options
Diffstat (limited to 'dev-cpp/tree/files/3.18-const.patch')
| -rw-r--r-- | dev-cpp/tree/files/3.18-const.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/dev-cpp/tree/files/3.18-const.patch b/dev-cpp/tree/files/3.18-const.patch deleted file mode 100644 index 580c23f7ac53..000000000000 --- a/dev-cpp/tree/files/3.18-const.patch +++ /dev/null @@ -1,23 +0,0 @@ -https://github.com/kpeeters/tree.hh/commit/0ee8b5a4c3a93814bbf465ffc56c296cf84f1832 - -From: Kasper Peeters <kasper.peeters@phi-sci.com> -Date: Fri, 17 Nov 2023 11:27:13 +0000 -Subject: [PATCH] Fix const-correctness for comparison. - ---- - src/tree.hh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/tree.hh b/src/tree.hh -index d460165..be45f99 100644 ---- a/src/tree.hh -+++ b/src/tree.hh -@@ -505,7 +505,7 @@ class tree { - public: - compare_nodes(StrictWeakOrdering comp) : comp_(comp) {} - -- bool operator()(const tree_node *a, const tree_node *b) -+ bool operator()(const tree_node *a, const tree_node *b) const - { - return comp_(a->data, b->data); - } |
