summaryrefslogtreecommitdiff
path: root/dev-cpp/tree/files/tree-2.81-gcc11.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/tree/files/tree-2.81-gcc11.patch')
-rw-r--r--dev-cpp/tree/files/tree-2.81-gcc11.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/dev-cpp/tree/files/tree-2.81-gcc11.patch b/dev-cpp/tree/files/tree-2.81-gcc11.patch
deleted file mode 100644
index feffe0de13cc..000000000000
--- a/dev-cpp/tree/files/tree-2.81-gcc11.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- "a/simple tree.hpp"
-+++ "b/simple tree.hpp"
-@@ -323,7 +323,7 @@
- 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);
- }
---- a/tree.hh
-+++ b/tree.hh
-@@ -422,7 +422,7 @@
- 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);
- }
---- a/xinlin.hh
-+++ b/xinlin.hh
-@@ -332,7 +332,7 @@
- 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);
- }