Quote Originally Posted by r2com View Post
And also, I have a feeling that I'm trying to achieve this in an ugly way and there gotta be an elegant solution.
Aside from the linker error and the unnecessary line that d_stranz mentioned this looks fine.

Cheers,
_