Resizing array of classes and then saving gives warning

hm, just for understanding. why do you need to save the class if its empty?
and what else is inside the struct?