it's a vector, a member variable of class Curve
It is not a good idea to return a reference to member variable.
Your function is a const member function. It means that it doesn't change the data members of the class (unless they are mutable). So if you must definitely return a reference, then a const member function has to return a const reference only. It can't return a non const reference because the implicit this pointer is a pointer to a const.
If you change your return value to a const reference, then all that you have to do is just remove the & before m_points in the return statement. A reference is not the same as a pointer.