Compiler Error C2241

'identifier' : member access is restricted

There was an attempt to access a private or protected member function or data.

If the program needs to access this member, change the object access level or make the member a friend of the function that needs to be accessed.