AddDynamic won´t work

I don´t understand why the addDynamic won´t work. Everytime I try to compile the programm I get an error. Can anybody enlighten me?

As far as I know, you need to put pointer to function. So, just remove hooks after &USettings::HandleBackClicked.

BackButton->OnClicked.AddDynamic(this, &USettings::HandleBackClicked);
2 Likes