I keep getting this error when I compile:
Code:
In function 'std::ostream& operator<<(std::ostream&, User&)':
error: no match for 'operator<<' in 'os << u->User::userID'
note: candidates are: std::ostream& operator<<(std::ostream&, User&)
And here's the operator
Code:
friend std::ostream& operator<<( std::ostream& os, User& u ){
		os << u.userID << " " << u.name << " " << u.systemKey << " " << u.accessKey;
		return os;
	}
I'm not even calling the "<<" operator anywhere in my code. My code only creates three users, that's it. I can't get past compile.

Any help is most appreciated!