You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by rl...@apache.org on 2021/11/23 19:56:47 UTC
[xalan-c] branch master updated: Fix build without macro XALAN_DEBUG
This is an automated email from the ASF dual-hosted git repository.
rleigh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/xalan-c.git
The following commit(s) were added to refs/heads/master by this push:
new cc76f9f Fix build without macro XALAN_DEBUG
new 5d0ab2f Merge pull request #38 from kvarec/fix_build_without_XALAN_DEBUG
cc76f9f is described below
commit cc76f9f6a9198988b8f85b3fa5c0b630cc72176f
Author: Kvarec Lezki <cu...@ya.ru>
AuthorDate: Tue Nov 23 12:29:16 2021 +0500
Fix build without macro XALAN_DEBUG
---
src/xalanc/XPath/MutableNodeRefList.cpp | 2 ++
src/xalanc/XSLT/FunctionDocument.cpp | 2 ++
2 files changed, 4 insertions(+)
diff --git a/src/xalanc/XPath/MutableNodeRefList.cpp b/src/xalanc/XPath/MutableNodeRefList.cpp
index 9d8c1ba..f7e3527 100644
--- a/src/xalanc/XPath/MutableNodeRefList.cpp
+++ b/src/xalanc/XPath/MutableNodeRefList.cpp
@@ -704,7 +704,9 @@ MutableNodeRefList::clearNulls()
m_order = eUnknownOrder;
}
+#if defined(XALAN_DEBUG)
assert(checkForDuplicates(getMemoryManager()) == false);
+#endif
}
diff --git a/src/xalanc/XSLT/FunctionDocument.cpp b/src/xalanc/XSLT/FunctionDocument.cpp
index bd02cff..701f982 100644
--- a/src/xalanc/XSLT/FunctionDocument.cpp
+++ b/src/xalanc/XSLT/FunctionDocument.cpp
@@ -573,7 +573,9 @@ FunctionDocument::doExecute(
}
}
+#if defined(XALAN_DEBUG)
assert(mnl->checkForDuplicates(executionContext.getMemoryManager()) == false);
+#endif
mnl->setDocumentOrder();
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xalan.apache.org
For additional commands, e-mail: commits-help@xalan.apache.org