mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-30 08:38:15 +01:00
Fixed bug in setFeature
Fix contributed by Nick Woolley, nick.woolley@virgin.net
This commit is contained in:
parent
7eb1b4f295
commit
4d68e4f22e
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ public:
|
|||
*/
|
||||
virtual void setFeature(const stringT& name, bool value)
|
||||
{
|
||||
if(parent_)
|
||||
if(!parent_)
|
||||
throw SAXNotRecognizedException("Feature: " + name);
|
||||
|
||||
parent_->setFeature(name, value);
|
||||
|
|
Loading…
Add table
Reference in a new issue