ofBook
ofBook copied to clipboard
"Vectors of objects" section - ...erasing a pointer to an object in a vector...
There is a typo (missing * operator) issue at the following code block;
vector<Particle >::iterator it = particlePointers.begin();
It should be replaced with the following;
vector<Particle * >::iterator it = particlePointers.begin();
how about just using auto
i think in this case - best is just make an edit and PR (can be done via GitHub itself)
Sure @elliotwoods