mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-29 08:36:45 +01:00
*** empty log message ***
This commit is contained in:
parent
dc7c828b14
commit
8a90fc60d1
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class CharacterData : public Node<stringT>
|
|||
explicit CharacterData(const Node<stringT>& rhs) : Node<stringT>(rhs)
|
||||
{
|
||||
Type type = rhs.getNodeType();
|
||||
if((type != Text::TEXT_NODE) && (type != Text::CDATA_SECTION_NODE))
|
||||
if((type != TEXT_NODE) && (type != CDATA_SECTION_NODE))
|
||||
throw std::bad_cast("Cannot cast Node to Character Data");
|
||||
} // CharacterData
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue