Fix embarrassing logic mistake

Thanks Richard for pointing at it.
This commit is contained in:
Guillaume Munch 2016-08-03 22:11:00 +01:00
parent a893712c0e
commit 096afc733b

View File

@ -338,7 +338,7 @@ void extractIt(boost::any const & any_factory,
return;
Factory factory = boost::any_cast<Factory>(any_factory);
if (!factory)
if (factory)
transformer = factory(data);
}