TRQ-2628. Remove the ptr_vector structure to fix latent crashes.

All uses of the ptr_vector data structure have been replaced with std::vector to fix some latent crashes.