gcc portability fixes

This commit is contained in:
jez_higgins 2005-08-05 21:09:00 +00:00
parent 6f809ffd3a
commit 65465623a9

View file

@ -277,6 +277,8 @@ class DocumentImpl : public DOM::Document_impl<stringT>,
case DOM::Node<stringT>::COMMENT_NODE:
newNode = createComment(importedNode->getNodeValue());
break;
default:
throw std::runtime_error("Bad node type value in importNode");
} // switch
if(deep)