I have a vector which accepts vectors of GlDouble vectors. But when I try to push one it says:
Error 1 error C2664: 'std::vector<_Ty>::push_back' : cannot convert parameter 1 from 'std::vector<_Ty>' to 'const std::vector<_Ty> &' c:\Users\Josh\Documents\Visual Studio 2008\Projects\Vectorizer Project\Vectorizer Project\Vectorizer Project.cpp 324
Why isn't it letting me push this? It's saying it wants a contant but I never specified that....
Thanks
the struct:
struct SHAPECONTOUR{
std::vector<USERFPOINT> UserPoints;
std::vector<std::vector<GLdouble>> DrawingPoints;
};
std::vector<std::vector<GLdouble>> shape_verts;
SHAPECONTOUR c;
c.DrawingPoints.push_back(shape_verts);