dbertoni    2003/02/22 10:16:12

  Modified:    c/src/XSLT XResultTreeFrag.cpp
  Log:
  Fix for lame Intel compiler.
  
  Revision  Changes    Path
  1.11      +8 -1      xml-xalan/c/src/XSLT/XResultTreeFrag.cpp
  
  Index: XResultTreeFrag.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/XResultTreeFrag.cpp,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- XResultTreeFrag.cpp       25 Nov 2002 18:11:53 -0000      1.10
  +++ XResultTreeFrag.cpp       22 Feb 2003 18:16:12 -0000      1.11
  @@ -147,7 +147,14 @@
   #endif
   XResultTreeFrag::clone(void* theAddress) const
   {
  -     return theAddress == 0 ? new XResultTreeFrag(*this) : new (theAddress) 
XResultTreeFrag(*this);
  +     if (theAddress == 0)
  +     {
  +             return new XResultTreeFrag(*this);
  +     }
  +     else
  +     {
  +             return new (theAddress) XResultTreeFrag(*this);
  +     }
   }
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to