You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ga...@apache.org on 2003/12/22 16:22:58 UTC

cvs commit: xml-xerces/c/src/xercesc/validators/DTD DTDGrammar.hpp

gareth      2003/12/22 07:22:58

  Modified:    c/src/xercesc/validators/DTD DTDGrammar.hpp
  Log:
  made getRootElemID const. Bug #25699
  
  Revision  Changes    Path
  1.13      +5 -2      xml-xerces/c/src/xercesc/validators/DTD/DTDGrammar.hpp
  
  Index: DTDGrammar.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/DTD/DTDGrammar.hpp,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- DTDGrammar.hpp	17 Dec 2003 00:18:40 -0000	1.12
  +++ DTDGrammar.hpp	22 Dec 2003 15:22:58 -0000	1.13
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.13  2003/12/22 15:22:58  gareth
  + * made getRootElemID const. Bug #25699
  + *
    * Revision 1.12  2003/12/17 00:18:40  cargilld
    * Update to memory management so that the static memory manager (one used to call Initialize) is only for static data.
    *
  @@ -239,7 +242,7 @@
       
       // deprecated.  returns the ID of the root element; not
       // useable in multithreaded environments!
  -    unsigned int getRootElemId();
  +    unsigned int getRootElemId() const;
       const DTDEntityDecl* getEntityDecl(const XMLCh* const entName) const;
       DTDEntityDecl* getEntityDecl(const XMLCh* const entName);
       NameIdPool<DTDEntityDecl>* getEntityDeclPool();
  @@ -330,7 +333,7 @@
   // ---------------------------------------------------------------------------
   //  DTDGrammar: Getter methods
   // ---------------------------------------------------------------------------
  -inline unsigned int DTDGrammar::getRootElemId()
  +inline unsigned int DTDGrammar::getRootElemId() const
   {
       return fRootElemId;
   }
  
  
  

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