mirror of
https://github.com/jezhiggins/arabica
synced 2024-12-27 21:58:30 +01:00
Fixed equality comparison with extraneous parentheses
This commit is contained in:
parent
5cfbe17a66
commit
3c047bae33
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue