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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to