[mapguide-commits] r9889 - sandbox/jng/msvc2019/Oem/dbxml/xqilla/include/xqilla/ast

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Nov 15 05:36:54 PST 2021


Author: jng
Date: 2021-11-15 05:36:54 -0800 (Mon, 15 Nov 2021)
New Revision: 9889

Modified:
   sandbox/jng/msvc2019/Oem/dbxml/xqilla/include/xqilla/ast/XQDocumentOrder.hpp
Log:
#2843: Fix xqilla build. The operator () of uniqueLessThanCompareFn must now be const. Otherwise we get C3848 from MSVC 2019.

Modified: sandbox/jng/msvc2019/Oem/dbxml/xqilla/include/xqilla/ast/XQDocumentOrder.hpp
===================================================================
--- sandbox/jng/msvc2019/Oem/dbxml/xqilla/include/xqilla/ast/XQDocumentOrder.hpp	2021-11-15 13:14:28 UTC (rev 9888)
+++ sandbox/jng/msvc2019/Oem/dbxml/xqilla/include/xqilla/ast/XQDocumentOrder.hpp	2021-11-15 13:36:54 UTC (rev 9889)
@@ -73,7 +73,7 @@
   public:
     uniqueLessThanCompareFn(const DynamicContext *context)
       : context_(context) {}
-    bool operator()(const Node::Ptr &first, const Node::Ptr &second)
+    bool operator()(const Node::Ptr &first, const Node::Ptr &second) const
     {
       return first->uniqueLessThan(second, context_);
     }



More information about the mapguide-commits mailing list