DECLARE_DYNAMIC_MULTICAST_DELEGATE error: no storage class or type specifier

I met the same error, and change DECLARE_MULTICAST_DELEGATE to DECLARE_DYNAMIC_MULTICAST_DELEGATE. It works, I don’t know why.