dbertoni 2003/02/22 10:03:14
Modified: c/src/XPath XString.cpp
Log:
Fix for lame Intel compiler.
Revision Changes Path
1.21 +8 -1 xml-xalan/c/src/XPath/XString.cpp
Index: XString.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XPath/XString.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- XString.cpp 21 Nov 2002 01:26:18 -0000 1.20
+++ XString.cpp 22 Feb 2003 18:03:14 -0000 1.21
@@ -110,7 +110,14 @@
#endif
XString::clone(void* theAddress) const
{
- return theAddress == 0 ? new XString(*this) : new (theAddress)
XString(*this);
+ if (theAddress == 0)
+ {
+ return new XString(*this);
+ }
+ else
+ {
+ return new (theAddress) XString(*this);
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]