dbertoni 2002/11/13 09:51:20
Modified: c/src/XSLT NamespacesHandler.cpp
Log:
Removed bogus #ifdef.
Revision Changes Path
1.27 +0 -38 xml-xalan/c/src/XSLT/NamespacesHandler.cpp
Index: NamespacesHandler.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XSLT/NamespacesHandler.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- NamespacesHandler.cpp 13 Nov 2002 17:37:40 -0000 1.26
+++ NamespacesHandler.cpp 13 Nov 2002 17:51:20 -0000 1.27
@@ -105,8 +105,6 @@
-#if defined(_MSC_VER)
-
template<class VectorType>
typename VectorType::value_type*
findByPrefixNonConst(
@@ -131,42 +129,6 @@
return 0;
}
-#else
-
-template<class VectorType>
-typename VectorType::value_type*
-findByPrefix(
- VectorType& theVector,
- const XalanDOMString& thePrefix)
-{
- typename const VectorType::iterator theEnd(theVector.end());
- typename VectorType::iterator
theCurrent(theVector.begin());
-
- while(theCurrent != theEnd)
- {
- if ((*theCurrent).getPrefix() == thePrefix)
- {
- return &*theCurrent;
- }
- else
- {
- ++theCurrent;
- }
- }
-
- return 0;
-}
-
-template<class VectorType>
-typename VectorType::value_type*
-findByPrefixNonConst(
- VectorType& theVector,
- const XalanDOMString& thePrefix)
-{
- return findByPrefix(theVector, thePrefix);
-}
-
-#endif
template<class VectorType>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]