summaryrefslogtreecommitdiff
path: root/news/nget/files/patch-etree.cc
diff options
context:
space:
mode:
Diffstat (limited to 'news/nget/files/patch-etree.cc')
-rw-r--r--news/nget/files/patch-etree.cc22
1 files changed, 22 insertions, 0 deletions
diff --git a/news/nget/files/patch-etree.cc b/news/nget/files/patch-etree.cc
new file mode 100644
index 000000000000..e41f0d766c51
--- /dev/null
+++ b/news/nget/files/patch-etree.cc
@@ -0,0 +1,22 @@
+https://github.com/Optware/Optware-ng/commit/cf5b5050c989fb4e969167d20e6b135ff2608a87
+
+--- etree.cc.orig 2017-10-14 02:49:56 UTC
++++ etree.cc
+@@ -79,7 +79,7 @@ pred<ClassType> *new_comparison(RetType (ClassType::*m
+ return new Comparison<Op, MemGetter, RetType, ClassType>(member, v);
+ }
+ template <template <class A, class B> class Op, class ClassType, class RetType>
+-pred<ClassType> *new_comparison(RetType (ClassType::*memberf)(void), RetType v){
++pred<ClassType> *new_comparison(RetType (ClassType::*memberf)(void) const, RetType v){
+ return new Comparison<Op, MemfuncGetter, RetType, ClassType>(memberf, v);
+ }
+ template <class ClassType, class getterT, class T2>
+@@ -112,7 +112,7 @@ pred<ClassType> *new_comparison_re(RetType (ClassType:
+ return new Comparison_re<Op, MemGetter, RetType, ClassType>(member, pattern, flags);
+ }
+ template <template <class A, class B> class Op, class ClassType, class RetType>
+-pred<ClassType> *new_comparison_re(RetType (ClassType::*memberf)(void), const char *pattern, int flags){
++pred<ClassType> *new_comparison_re(RetType (ClassType::*memberf)(void) const, const char *pattern, int flags){
+ return new Comparison_re<Op, MemfuncGetter, RetType, ClassType>(memberf, pattern, flags);
+ }
+ template <class ClassType, class getterT>