I’m having compile error “no matching function..”

I suggest that you start by reading this…

Pete.