nix icon indicating copy to clipboard operation
nix copied to clipboard

deletingEntities is pretty unsafe

Open jgrewe opened this issue 10 years ago • 0 comments

Just stumbled over a strange behavior:

 Section section = file.createSection("testSection");
 file.deleteSection(section.id());
 section.createProperty("testProperty"); //passes without complaint

Not sure, but what do you think about changing deleters to:

deleteEntity(Entity &entity);

this would allow the deleter to set the enity to none_t.

jgrewe avatar Mar 07 '14 20:03 jgrewe