You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2001/06/07 17:00:02 UTC

cvs commit: xml-xalan/c/Tests/PerfT perft.cpp

dbertoni    01/06/07 08:00:01

  Modified:    c/Tests/PerfT perft.cpp
  Log:
  Fixed pointers to const objects.
  
  Revision  Changes    Path
  1.4       +2 -2      xml-xalan/c/Tests/PerfT/perft.cpp
  
  Index: perft.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/Tests/PerfT/perft.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- perft.cpp	2001/05/23 15:14:52	1.3
  +++ perft.cpp	2001/06/07 14:59:56	1.4
  @@ -372,7 +372,7 @@
   					// Time the parsing(compile) of the XSL stylesheet and report the results..
   					//
   					startTime = clock();
  -						XalanCompiledStylesheet* const compiledSS = xalan.compileStylesheet(xslInputSource);
  +					const XalanCompiledStylesheet* const	compiledSS = xalan.compileStylesheet(xslInputSource);
   					endTime = clock();
   					//	assert(glbStylesheetRoot != 0);
   
  @@ -384,7 +384,7 @@
   					// Time the parsing of the input XML and report the results..
   					//
   					startTime = clock();
  -						 XalanParsedSource*  parsedSource = xalan.parseSource(xmlInputSource);
  +					const XalanParsedSource* const	parsedSource = xalan.parseSource(xmlInputSource);
   					endTime = clock();
   					//	assert(glbSourceXML != 0);
   
  
  
  

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