You’ve not shown the actual code that doesn’t compile and the actual error that is thrown as a starting point but I will go ahead and assume that you are not using the correct operator when passing the flags.
The proper operator in this case is bitwise or (|) not bitwise and (&);
Try FilterThings( EThingFilter::OddId | EThingFilter::OnlyAlphaName );
and tell how it went.