[GME-commit]
GMESRC/GME/Include/xalanc/XalanDOM XalanDOMString.cpp,1.1.1.1,1.2
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Tue Apr 20 18:04:20 CDT 2004
Update of /var/lib/gme/GMESRC/GME/Include/xalanc/XalanDOM
In directory braindrain:/tmp/cvs-serv2392/xalanc/XalanDOM
Modified Files:
XalanDOMString.cpp
Log Message:
Modified files for recompilation of XALAN with SGI stl.
Modified Files:
xalanc/Include/VCPPDefinitions.hpp
xalanc/PlatformSupport/DoubleSupport.cpp
xalanc/XSLT/StylesheetRoot.cpp
xalanc/XalanDOM/XalanDOMString.cpp
xalanc/XalanTransformer/XalanCAPI.cpp
CVS User: zolmol
Index: XalanDOMString.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/Include/xalanc/XalanDOM/XalanDOMString.cpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** XalanDOMString.cpp 8 Apr 2004 07:56:28 -0000 1.1.1.1
--- XalanDOMString.cpp 20 Apr 2004 22:04:17 -0000 1.2
***************
*** 311,314 ****
--- 311,334 ----
swap(temp);
#else
+ // introduced by ZolMol in order to compile with STL of GME (Sgi stl)
+ #ifdef XALAN_NO_STD_NAMESPACE
+ XalanDOMString temp;
+
+ temp.m_data.reserve(theLastPosition - theFirstPosition + 1);
+
+ while(theFirstPosition != theLastPosition)
+ {
+ temp.m_data.push_back(*theFirstPosition);
+
+ ++theFirstPosition;
+ }
+
+ temp.m_data.push_back(XalanDOMChar(0));
+
+ temp.m_size = temp.m_data.size() - 1;
+
+ swap(temp);
+ #else
+ //end mod by ZolMol
m_data.reserve(theLastPosition - theFirstPosition + 1);
***************
*** 319,322 ****
--- 339,343 ----
m_size = m_data.size() - 1;
#endif
+ #endif // this line introduced by ZolMol
invariants();
More information about the GME-commit
mailing list