dbertoni    2003/02/22 10:18:50

  Modified:    c/src/XalanExtensions FunctionNodeSet.cpp
  Log:
  Fix for lame Intel compiler.
  
  Revision  Changes    Path
  1.12      +8 -2      xml-xalan/c/src/XalanExtensions/FunctionNodeSet.cpp
  
  Index: FunctionNodeSet.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XalanExtensions/FunctionNodeSet.cpp,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- FunctionNodeSet.cpp       25 Nov 2002 19:07:13 -0000      1.11
  +++ FunctionNodeSet.cpp       22 Feb 2003 18:18:50 -0000      1.12
  @@ -101,8 +101,14 @@
   #endif
        clone(void*             theAddress = 0) const
        {
  -             return theAddress == 0 ? new 
ResultTreeFragBaseXNodeSetBaseProxy(*this) :
  -                             new (theAddress) 
ResultTreeFragBaseXNodeSetBaseProxy(*this);
  +             if (theAddress == 0)
  +             {
  +                     return new ResultTreeFragBaseXNodeSetBaseProxy(*this);
  +             }
  +             else
  +             {
  +                     return new (theAddress) 
ResultTreeFragBaseXNodeSetBaseProxy(*this);
  +             }
        }
   
        virtual const NodeRefListBase&
  
  
  

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

Reply via email to