In XCode, for float DoorLastOpenTime, I get “reference to non-static member function must be called.”
Any help?
In XCode, for float DoorLastOpenTime, I get “reference to non-static member function must be called.”
Any help?
Maybe you declared float DoorLastOpenTime();
with parentheses, instead of the correct float DoorLastOpenTime;
? That would make it a function instead of a variable, and would explain such an error.
If that is not the case, can you share the code in your source and header files, as well as the precise error message including the line number?