xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbert...@apache.org
Subject cvs commit: xml-xalan/c/src/XPath XNodeSet.cpp
Date Sat, 22 Feb 2003 17:48:59 GMT
dbertoni    2003/02/22 09:48:59

  Modified:    c/src/XPath XNodeSet.cpp
  Log:
  Fix for lame Intel compiler.
  
  Revision  Changes    Path
  1.31      +8 -1      xml-xalan/c/src/XPath/XNodeSet.cpp
  
  Index: XNodeSet.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/XNodeSet.cpp,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- XNodeSet.cpp	21 Nov 2002 01:26:18 -0000	1.30
  +++ XNodeSet.cpp	22 Feb 2003 17:48:59 -0000	1.31
  @@ -113,7 +113,14 @@
   #endif
   XNodeSet::clone(void*	theAddress) const
   {
  -	return theAddress == 0 ? new XNodeSet(*this) : new (theAddress) XNodeSet(*this);
  +	if (theAddress == 0)
  +	{
  +		return new XNodeSet(*this);
  +	}
  +	else
  +	{
  +		return new (theAddress) XNodeSet(*this);
  +	}
   }
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message