mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-15 15:40:56 +01:00
gcc portability fixes
This commit is contained in:
parent
6f809ffd3a
commit
65465623a9
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue