TMap use custom KeyFuncs and how to remove a Element

I make a custom KeyFuncs like TMap | Unreal Engine Documentation,
but when i remove a value,it take me a error like this:

please help me!!!