Forgot to scope!
Last edited on
Oh lord this was so stupid.
The rest of the code is using scope, but since I copied that from old code I forgot to scope it... jeez thanks mate
No worries - it's an easy mistake to make :)
Solved :)
Last edited on
Best guess, it needs an object of type Line to call it.
operator>>
is a global operator, rather than part of the class. Presumably, you want to call ln.requestInput
?
Last edited on
You are absolutely right MikeyBoy, had no idea that could happen, I assumed it would be handled as if it was a part of the class.