Compiler Error C2509

'identifier' : member function not declared in 'class'

The function was not declared in the specified class.

This error can be caused by specifying the wrong class when calling the function.