From d21eeb58a0286abcb26ce8bd453854950f6c51eb Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Fri, 7 May 2021 22:19:11 +0000 Subject: Adding metadata --- dev-cpp/tree/files/tree-2.81-gcc11.patch | 33 ++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 dev-cpp/tree/files/tree-2.81-gcc11.patch (limited to 'dev-cpp/tree/files') diff --git a/dev-cpp/tree/files/tree-2.81-gcc11.patch b/dev-cpp/tree/files/tree-2.81-gcc11.patch new file mode 100644 index 000000000000..2af534dac988 --- /dev/null +++ b/dev-cpp/tree/files/tree-2.81-gcc11.patch @@ -0,0 +1,33 @@ +--- "ORIG/simple tree.hpp" ++++ "MOD/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); + } -- cgit v1.3