You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2003/04/07 16:47:53 UTC

DO NOT REPLY [Bug 18759] New: - Incorrect hide default copy-contstructor and assignment operator in DOM.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18759>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18759

Incorrect hide default copy-contstructor and assignment operator in DOM.

           Summary: Incorrect hide default copy-contstructor and assignment
                    operator in DOM.
           Product: Xerces-C++
           Version: 2.2.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Build
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: Bacek@yandex-team.ru


Every copy-constructor and assignment operator in dom/DOM*.hpp incorrect and
cause compiler warning about implicit parent initialization.

I.e. DOMText have folowing statement%
DOMText(const DOMText &) {};
DOMText & operator = (const DOMText &) {return *this;};

instead of:

DOMText(const DOMText &);
DOMText & operator = (const DOMText &);

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