From aa21fa7aa0b6ae070e5644df4820c03957deba77 Mon Sep 17 00:00:00 2001 From: Jez Higgins Date: Wed, 25 Mar 2015 17:31:58 +0000 Subject: [PATCH] remove extraneous brackets --- include/DOM/Simple/DocumentImpl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/DOM/Simple/DocumentImpl.hpp b/include/DOM/Simple/DocumentImpl.hpp index fb4971fc..fad188b0 100644 --- a/include/DOM/Simple/DocumentImpl.hpp +++ b/include/DOM/Simple/DocumentImpl.hpp @@ -433,7 +433,7 @@ class DocumentImpl : public DOM::Document_impl, 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);