You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by an...@locus.apache.org on 2000/09/08 01:55:02 UTC

cvs commit: xml-xerces/c/src/sax SAXParseException.cpp SAXException.hpp

andyh       00/09/07 16:55:02

  Modified:    c/src/sax SAXParseException.cpp SAXException.hpp
  Log:
  Fix SAXException assignment operator.  Now non-virtual, and
  SAXParseException invokes base class operator.
  
  Revision  Changes    Path
  1.4       +6 -0      xml-xerces/c/src/sax/SAXParseException.cpp
  
  Index: SAXParseException.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/sax/SAXParseException.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SAXParseException.cpp	2000/03/02 19:54:35	1.3
  +++ SAXParseException.cpp	2000/09/07 23:55:02	1.4
  @@ -56,6 +56,10 @@
   
   /*
    * $Log: SAXParseException.cpp,v $
  + * Revision 1.4  2000/09/07 23:55:02  andyh
  + * Fix SAXException assignment operator.  Now non-virtual, and
  + * SAXParseException invokes base class operator.
  + *
    * Revision 1.3  2000/03/02 19:54:35  roddey
    * This checkin includes many changes done while waiting for the
    * 1.1.0 code to be finished. I can't list them all here, but a list is
  @@ -135,6 +139,7 @@
       if (this == &toAssign)
           return *this;
   
  +    this->SAXException::operator =(toAssign);
       fColumnNumber = toAssign.fColumnNumber;
       fLineNumber = toAssign.fLineNumber;
   
  
  
  
  1.8       +6 -1      xml-xerces/c/src/sax/SAXException.hpp
  
  Index: SAXException.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/sax/SAXException.hpp,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- SAXException.hpp	2000/08/09 22:06:04	1.7
  +++ SAXException.hpp	2000/09/07 23:55:02	1.8
  @@ -56,6 +56,10 @@
   
   /*
    * $Log: SAXException.hpp,v $
  + * Revision 1.8  2000/09/07 23:55:02  andyh
  + * Fix SAXException assignment operator.  Now non-virtual, and
  + * SAXParseException invokes base class operator.
  + *
    * Revision 1.7  2000/08/09 22:06:04  jpolast
    * more functionality to SAXException and its children.
    * msgs are now functional for SAXNotSupportedEx and
  @@ -174,7 +178,7 @@
         *
         * @param toCopy The object to be copied
         */
  -    virtual SAXException& operator=(const SAXException& toCopy)
  +    SAXException& operator=(const SAXException& toCopy)
       {
           if (this == &toCopy)
               return *this;