I have a function
double Max(vector<geom_Point3> &Points, int n);
Then in another class, I have a private member:
vector<geom_Point3> Vertices_;
and in a class function, I call:
min_x = Min(Vertices_, 0);
however, I get
error: qualifiers dropped in binding reference of type "std::vector<geom_Point3, std::allocator<geom_Point3>> &" to initializer of type "const std::vector<geom_Point3, std::allocator<geom_Point3>>"
min_x = Min(Vertices_, 0);
What does that mean??
Thanks!
Dave