dbertoni 2003/02/22 09:50:12
Modified: c/src/XPath XNodeSetNodeProxy.cpp
Log:
Fix for lame Intel compiler.
Revision Changes Path
1.2 +8 -1 xml-xalan/c/src/XPath/XNodeSetNodeProxy.cpp
Index: XNodeSetNodeProxy.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XPath/XNodeSetNodeProxy.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XNodeSetNodeProxy.cpp 13 Feb 2003 00:13:21 -0000 1.1
+++ XNodeSetNodeProxy.cpp 22 Feb 2003 17:50:12 -0000 1.2
@@ -143,7 +143,14 @@
#endif
XNodeSetNodeProxy::clone(void* theAddress) const
{
- return theAddress == 0 ? new XNodeSetNodeProxy(*this) : new
(theAddress) XNodeSetNodeProxy(*this);
+ if (theAddress == 0)
+ {
+ return new XNodeSetNodeProxy(*this);
+ }
+ else
+ {
+ return new (theAddress) XNodeSetNodeProxy(*this);
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]