RHEL: Possible compilation fix

It's bad idea to declare functor structire inside the method