Cannot figure out Seg Fault, lots of detail provided
问题 I asked this question about a half hour ago, but the code had typos and I wasn't being very clear, so I've deleted and I'm trying again with a better format. I'm getting a Segmentation Fault in my code, the problem seems to be at the function call if( (*trans).test((*this), *(*itr)) ) inside World::update() : void World::update(sf::Time dt) { mPlayer->setVelocity(0.f, 0.f); while (!mCommandQueue.isEmpty()){ Command cmd = mCommandQueue.pop(); cmd.action(cmd.node, dt); } mSceneGraph.update(dt);