Closed danielsefton closed 1 year ago
Arithmetic on a pointer to an incomplete type 'const Procedural::Shape'
Attempted to increment a non-incrementable iterator
forward declaration of 'Procedural::Shape'
ProceduralMultiShape.h
void addMultiShape(const MultiShape& other) { for (std::vector<Shape>::const_iterator it = other.mShapes.begin(); it!=other.mShapes.end(); ++it) { mShapes.push_back(*it); } }
I built the library with C++11.
I moved the function implementation to the cpp file to fix this.
Arithmetic on a pointer to an incomplete type 'const Procedural::Shape'
Attempted to increment a non-incrementable iterator
forward declaration of 'Procedural::Shape'
ProceduralMultiShape.h
I built the library with C++11.
I moved the function implementation to the cpp file to fix this.