pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/qore Don't modify the instance from a const method.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/594d367fcd63
branches:  trunk
changeset: 425151:594d367fcd63
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Mar 19 23:59:58 2020 +0000

description:
Don't modify the instance from a const method.

diffstat:

 lang/qore/distinfo                                       |   3 ++-
 lang/qore/patches/patch-include_qore_intern_QoreLValue.h |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 018ec86b62d4 -r 594d367fcd63 lang/qore/distinfo
--- a/lang/qore/distinfo        Thu Mar 19 23:58:33 2020 +0000
+++ b/lang/qore/distinfo        Thu Mar 19 23:59:58 2020 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.11 2018/06/08 18:38:29 nros Exp $
+$NetBSD: distinfo,v 1.12 2020/03/19 23:59:58 joerg Exp $
 
 SHA1 (qore-0.8.13.5.tar.bz2) = 794af91df0e8881603c54f57fc3a9111db63c5ba
 RMD160 (qore-0.8.13.5.tar.bz2) = f69cb70a0df3f52f411efe5f57e50c53e08d6c49
 SHA512 (qore-0.8.13.5.tar.bz2) = c33c6ef28956139100a2c69f16a618a3db951acba57f0f473feaa4154c4e944a2feba8679c5e2984ebf6f53f3cf7516deb09f1a8bc3288747402440b6bb5a110
 Size (qore-0.8.13.5.tar.bz2) = 31459671 bytes
 SHA1 (patch-include_qore_ReferenceNode.h) = df2dbac13ed9bc5dff4949bc654817e4c5335dd2
+SHA1 (patch-include_qore_intern_QoreLValue.h) = e2db77d56e8c76f3aad073d8f94074970be44a80
diff -r 018ec86b62d4 -r 594d367fcd63 lang/qore/patches/patch-include_qore_intern_QoreLValue.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/qore/patches/patch-include_qore_intern_QoreLValue.h  Thu Mar 19 23:59:58 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-include_qore_intern_QoreLValue.h,v 1.1 2020/03/19 23:59:58 joerg Exp $
+
+Can't modify member variables from a const method.
+
+--- include/qore/intern/QoreLValue.h.orig      2020-03-18 20:41:49.184549910 +0000
++++ include/qore/intern/QoreLValue.h
+@@ -1022,7 +1022,7 @@ public:
+       return "NOTHING";
+    }
+ 
+-   DLLLOCAL AbstractQoreNode** getValuePtr(ExceptionSink* xsink) const {
++   DLLLOCAL AbstractQoreNode** getValuePtr(ExceptionSink* xsink) {
+       if (!fixed_type) {
+          if (type != QV_Node)
+             type = QV_Node;



Home | Main Index | Thread Index | Old Index