this pointer does not update when vector resizes

I have a vector of objects. The objects have several members(several ints, a couple bools, and a string). One of the member functions has a chance to spawn a new object and add it to the vector it was passed by reference. If adding the new object causes the vector to resize itself anything I do to the member variables of the calling object is done to the old location of the vector, not the new location of the resized vector. Is there a way to get the this pointer to update mid function?
Topic archived. No new replies allowed.