dbertoni    2003/02/22 09:48:24

  Modified:    c/src/XPath XBoolean.cpp
  Log:
  Fix for lame Intel compiler.
  
  Revision  Changes    Path
  1.17      +8 -1      xml-xalan/c/src/XPath/XBoolean.cpp
  
  Index: XBoolean.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/XBoolean.cpp,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- XBoolean.cpp      2 Jan 2003 17:39:08 -0000       1.16
  +++ XBoolean.cpp      22 Feb 2003 17:48:24 -0000      1.17
  @@ -100,7 +100,14 @@
   #endif
   XBoolean::clone(void*        theAddress) const
   {
  -     return theAddress == 0 ? new XBoolean(*this) : new (theAddress) 
XBoolean(*this);
  +     if (theAddress == 0)
  +     {
  +             return new XBoolean(*this);
  +     }
  +     else
  +     {
  +             return new (theAddress) XBoolean(*this);
  +     }
   }
   
   
  
  
  

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

Reply via email to