error: invalid use of non-static member function