*** empty log message ***

This commit is contained in:
jez_higgins 2005-08-30 11:58:21 +00:00
parent dc7c828b14
commit 8a90fc60d1

View file

@ -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