Return-Path: Delivered-To: apmail-xml-xerces-cvs-archive@xml.apache.org Received: (qmail 27410 invoked by uid 500); 14 Jan 2002 19:50:01 -0000 Mailing-List: contact xerces-cvs-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: Delivered-To: mailing list xerces-cvs@xml.apache.org Received: (qmail 27392 invoked from network); 14 Jan 2002 19:50:01 -0000 Date: 14 Jan 2002 19:50:01 -0000 Message-ID: <20020114195001.7890.qmail@icarus.apache.org> From: tng@apache.org To: xml-xerces-cvs@apache.org Subject: cvs commit: xml-xerces/c/src/dom DOM_Range.cpp DOM_Range.hpp X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N tng 02/01/14 11:50:01 Modified: c/src/dom DOM_Range.cpp DOM_Range.hpp Log: [Bug 5570] DOM_Range lacks the copy constructor. By Max Gotlib. Revision Changes Path 1.3 +7 -1 xml-xerces/c/src/dom/DOM_Range.cpp Index: DOM_Range.cpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/dom/DOM_Range.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- DOM_Range.cpp 10 Aug 2000 01:16:33 -0000 1.2 +++ DOM_Range.cpp 14 Jan 2002 19:50:01 -0000 1.3 @@ -55,7 +55,7 @@ */ /* - * $Id: DOM_Range.cpp,v 1.2 2000/08/10 01:16:33 aruna1 Exp $ + * $Id: DOM_Range.cpp,v 1.3 2002/01/14 19:50:01 tng Exp $ */ @@ -74,6 +74,12 @@ DOM_Range::DOM_Range(RangeImpl* impl) { fImpl = impl; + RefCountedImpl::addRef(fImpl); +} + +DOM_Range::DOM_Range(const DOM_Range& other) +{ + fImpl = other.fImpl; RefCountedImpl::addRef(fImpl); } 1.3 +2 -1 xml-xerces/c/src/dom/DOM_Range.hpp Index: DOM_Range.hpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/dom/DOM_Range.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- DOM_Range.hpp 10 Aug 2000 01:16:33 -0000 1.2 +++ DOM_Range.hpp 14 Jan 2002 19:50:01 -0000 1.3 @@ -55,7 +55,7 @@ */ /* - * $Id: DOM_Range.hpp,v 1.2 2000/08/10 01:16:33 aruna1 Exp $ + * $Id: DOM_Range.hpp,v 1.3 2002/01/14 19:50:01 tng Exp $ */ #ifndef DOM_Range_HEADER_GUARD_ @@ -82,6 +82,7 @@ //c'tor & d'tor DOM_Range(); + DOM_Range(const DOM_Range& other); ~DOM_Range(); --------------------------------------------------------------------- To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org For additional commands, e-mail: xerces-cvs-help@xml.apache.org