EDIT: Simple mistake.
Forgot to use "namespace"!

You should reply to the thread with the solution, instead of removing the question. If you delete the question, the answer doesn't help anyone in the future!


It barely had any code since it was so simple but fair point.

I was trying to use "list" on its own without the "std" namespace.