From 5145f6d941e9d9b18c3f841589387fd76ae4f705 Mon Sep 17 00:00:00 2001 From: Andy Heninger <andyh@apache.org> Date: Thu, 7 Sep 2000 23:55:02 +0000 Subject: [PATCH] Fix SAXException assignment operator. Now non-virtual, and SAXParseException invokes base class operator. git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@172380 13f79535-47bb-0310-9956-ffa450edef68 --- src/sax/SAXException.hpp | 6 +++++- src/sax/SAXParseException.cpp | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/sax/SAXException.hpp b/src/sax/SAXException.hpp index 5238c4667..c7dfe0b04 100644 --- a/src/sax/SAXException.hpp +++ b/src/sax/SAXException.hpp @@ -56,6 +56,10 @@ /* * $Log$ + * 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 @@ public: * * @param toCopy The object to be copied */ - virtual SAXException& operator=(const SAXException& toCopy) + SAXException& operator=(const SAXException& toCopy) { if (this == &toCopy) return *this; diff --git a/src/sax/SAXParseException.cpp b/src/sax/SAXParseException.cpp index 2ebe9434a..690502051 100644 --- a/src/sax/SAXParseException.cpp +++ b/src/sax/SAXParseException.cpp @@ -56,6 +56,10 @@ /* * $Log$ + * 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 @@ SAXParseException::operator=(const SAXParseException& toAssign) if (this == &toAssign) return *this; + this->SAXException::operator =(toAssign); fColumnNumber = toAssign.fColumnNumber; fLineNumber = toAssign.fLineNumber; -- GitLab