remove extraneous brackets

This commit is contained in:
Jez Higgins 2015-03-25 17:31:58 +00:00
parent 337092fa4e
commit aa21fa7aa0

View file

@ -433,7 +433,7 @@ class DocumentImpl : public DOM::Document_impl<stringT, string_adaptorT>,
virtual DOMNode_implT* removeChild(DOMNode_implT* oldChild)
{
if((documentType_ == oldChild))
if(documentType_ == oldChild)
throw DOM::DOMException(DOM::DOMException::HIERARCHY_REQUEST_ERR);
DOMNode_implT* result = NodeWithChildrenT::removeChild(oldChild);