staticstruct Color //line 31
{
double x, y, z;
std::string hex;
};
static std::vector<std::vector<Color>> mtlColors;
Output:
1 2 3 4 5 6 7 8
Linux.h:31:15: note: Color::Color()
staticstruct Color
^
Linux.h:31:15: note: candidate expects 0 arguments, 1 provided
Linux.h:31:15: note: Color::Color(const Color&)
Linux.h:31:15: note: no known conversion for argument 1 from 'std::vector<Color>' to 'const Color&'
Linux.h:31:15: note: Color::Color(Color&&)
Linux.h:31:15: note: no known conversion for argument 1 from 'std::vector<Color>' to 'Color&&'
I don't know what I'm doing wrong. I'm trying to have a vector of vectors of a custom struct. Thanks in advance!