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/XalanTransformer XalanTransformer.cpp
Date Mon, 22 Jul 2002 22:30:25 GMT
dbertoni    2002/07/22 15:30:25

  Modified:    c/src/XalanTransformer XalanTransformer.cpp
  Log:
  Use empty() instead of size() != 0.
  
  Revision  Changes    Path
  1.55      +1 -1      xml-xalan/c/src/XalanTransformer/XalanTransformer.cpp
  
  Index: XalanTransformer.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XalanTransformer/XalanTransformer.cpp,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -u -r1.54 -r1.55
  --- XalanTransformer.cpp	23 May 2002 00:59:01 -0000	1.54
  +++ XalanTransformer.cpp	22 Jul 2002 22:30:25 -0000	1.55
  @@ -254,7 +254,7 @@
   				  const XalanTransformer::TraceListenerVectorType&	theTraceListeners,
   				  XSLTEngineImpl&									theEngine)
   {
  -	if (theTraceListeners.size() != 0)
  +	if (theTraceListeners.empty() == false)
   	{
   		typedef XalanTransformer::TraceListenerVectorType	TraceListenerVectorType;
   
  
  
  

---------------------------------------------------------------------
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