Quote Originally Posted by Wer_Bn View Post
Anyway, I placed that in the constructor.
No, in the header.

Quote Originally Posted by Wer_Bn View Post
But now there's a new warning:
'handlers' : local variable is initialized but not referenced

I'm actually using the function pointer in another method of the class!
You cannot use a variable that is local to the constructor's scope in another method. It doesn't exist in that other scope.

Cheers,
_