Skip to content

"Vectors of objects" section - ...erasing a pointer to an object in a vector... #302

@alptugan

Description

@alptugan

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();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions