dbertoni 2002/10/31 18:46:06
Modified: c/src/XSLT XalanTemplate.cpp
Log:
Updates for new templates, etc.
Revision Changes Path
1.43 +5 -21 xml-xalan/c/src/XSLT/XalanTemplate.cpp
Index: XalanTemplate.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XSLT/XalanTemplate.cpp,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- XalanTemplate.cpp 12 Oct 2002 01:48:15 -0000 1.42
+++ XalanTemplate.cpp 1 Nov 2002 02:46:06 -0000 1.43
@@ -371,22 +371,6 @@
}
{
- AVT::AVTPartPtrVectorType theVector;
-
- for_each(theVector.begin(),
- theVector.end(),
- DeleteFunctor<AVTPart>());
- }
-
- {
- ElemLiteralResult::AVTVectorType theVector;
-
- for_each(theVector.begin(),
- theVector.end(),
- DeleteFunctor<AVT>());
- }
-
- {
StylesheetConstructionContextDefault::StylesheetVectorType
theVector;
StylesheetRoot* theStylesheetRoot;
@@ -408,12 +392,12 @@
using std::less;
#endif
- StylesheetRoot::QNameVectorType theVector;
+ StylesheetRoot::XalanQNameVectorType theVector;
sort(
theVector.begin(),
theVector.end(),
- less<XalanQName>());
+ pointer_less<XalanQName>());
}
{
@@ -783,12 +767,12 @@
{
const XalanQName* theQName;
- const StylesheetRoot::QNameVectorType theVector;
+ const StylesheetRoot::XalanQNameVectorType theVector;
- find(
+ find_if(
theVector.begin(),
theVector.end(),
- *theQName);
+ pointer_equals_predicate<XalanQName>(theQName));
}
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]